more cleanup

This commit is contained in:
Luke Smith 2022-07-11 16:30:44 -04:00
parent 0784507fb2
commit 79e36d3ae4
3 changed files with 2 additions and 10 deletions

View File

@ -17,4 +17,3 @@ cp themes/lugo/static/style.css static/
- Makes one RSS feed for the entire site at `/index.xml` - Makes one RSS feed for the entire site at `/index.xml`
- Stylesheet is in `/style.css`. - Stylesheet is in `/style.css`.
- If a post is tagged, links to the tags are placed at the bottom of the post. - 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.

View File

@ -1,10 +1,10 @@
{{ if or .Next .Prev -}} {{ if or .Next .Prev -}}
<br style="clear:both"> <div id="nextprev">
{{- with .Prev }} {{- with .Prev }}
<a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a> <a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a>
{{ end -}} {{ end -}}
{{- with .Next -}} {{- with .Next -}}
<a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a> <a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a>
{{ end -}} {{ end -}}
<br style="clear:both"> </div>
{{ end -}} {{ end -}}

View File

@ -9,13 +9,6 @@ main {
margin: auto ; 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 { img {
max-width: 100% ; max-width: 100% ;
} }