about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-01-06 20:48:42 +0100
committerAlan Pearce2020-01-06 20:48:42 +0100
commitb85fdab7fd6bfd5abbc9f57358dd23917f5affa8 (patch)
tree07d53ce49ec328cb986785a47c4a85e1026d2403
parent311e7f3065ecb3936b04d306ed6ab6527f62cdb8 (diff)
downloadhugo-xmin-b85fdab7fd6bfd5abbc9f57358dd23917f5affa8.tar.lz
hugo-xmin-b85fdab7fd6bfd5abbc9f57358dd23917f5affa8.tar.zst
hugo-xmin-b85fdab7fd6bfd5abbc9f57358dd23917f5affa8.zip
Remove non-semantic hr tags from layout
-rw-r--r--layouts/_default/baseof.html7
-rw-r--r--static/css/style.css6
2 files changed, 10 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 100293c..53c4d9f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -14,14 +14,15 @@
         <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
         {{ end }}
       </ul>
-      <hr/>
     </nav>
 
-    {{ block "main" . }}{{ end }}
+    <main>
+      {{ block "main" . }}
+      {{ end }}
+    </main>
 
     <footer>
       {{ with .Site.Params.footer }}
-      <hr/>
       {{ . | markdownify }}
       {{ end }}
     </footer>
diff --git a/static/css/style.css b/static/css/style.css
index 6b09e41..1eb0bfc 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -22,6 +22,12 @@ hr {
   border-style: dashed;
   color: #ddd;
 }
+body > nav {
+  border-bottom: 1px solid #ddd;
+}
+body > footer {
+  border-top: 1px solid #ddd;
+}
 
 /* code */
 pre {