commit 79e36d3ae431005496429873a50aff0c21b98d77
parent 0784507fb22a6fe62528400c24fb76c3610033a3
Author: Luke Smith <luke@lukesmith.xyz>
Date: Mon, 11 Jul 2022 16:30:44 -0400
more cleanup
Diffstat:
3 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
@@ -17,4 +17,3 @@ cp themes/lugo/static/style.css static/
- Makes one RSS feed for the entire site at `/index.xml`
- Stylesheet is in `/style.css`.
- If a post is tagged, links to the tags are placed at the bottom of the post.
-- By default, the home index has its own custom file because I don't like it being a list. Remove `/layouts/index.html` if you want your home to function like a list as is default in Hugo.
diff --git a/layouts/partials/nextprev.html b/layouts/partials/nextprev.html
@@ -1,10 +1,10 @@
{{ if or .Next .Prev -}}
-<br style="clear:both">
+<div id="nextprev">
{{- with .Prev }}
<a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a>
{{ end -}}
{{- with .Next -}}
<a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a>
{{ end -}}
-<br style="clear:both">
+</div>
{{ end -}}
diff --git a/static/style.css b/static/style.css
@@ -9,13 +9,6 @@ main {
margin: auto ;
}
-/* If images are placed in text areas, assume they are font-sized icons. */
-p img, li img, h1 img, h2 img, h3 img, h4 img, dt img, td img {
- max-height: 1em ;
- max-width: 1em ;
- vertical-align: middle ;
-}
-
img {
max-width: 100% ;
}