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.xz
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 @@
14 <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> 14 <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
15 {{ end }} 15 {{ end }}
16 </ul> 16 </ul>
17 <hr/>
18 </nav> 17 </nav>
19 18
20 {{ block "main" . }}{{ end }} 19 <main>
20 {{ block "main" . }}
21 {{ end }}
22 </main>
21 23
22 <footer> 24 <footer>
23 {{ with .Site.Params.footer }} 25 {{ with .Site.Params.footer }}
24 <hr/>
25 {{ . | markdownify }} 26 {{ . | markdownify }}
26 {{ end }} 27 {{ end }}
27 </footer> 28 </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 {
22 border-style: dashed; 22 border-style: dashed;
23 color: #ddd; 23 color: #ddd;
24} 24}
25body > nav {
26 border-bottom: 1px solid #ddd;
27}
28body > footer {
29 border-top: 1px solid #ddd;
30}
25 31
26/* code */ 32/* code */
27pre { 33pre {