From b85fdab7fd6bfd5abbc9f57358dd23917f5affa8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 6 Jan 2020 20:48:42 +0100 Subject: Remove non-semantic hr tags from layout --- layouts/_default/baseof.html | 7 ++++--- static/css/style.css | 6 ++++++ 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 @@
  • {{ .Name }}
  • {{ end }} -
    - {{ block "main" . }}{{ end }} +
    + {{ block "main" . }} + {{ end }} +
    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 { -- cgit 1.4.1