diff options
author | Zack Scholl <zack.scholl@gmail.com> | 2017-11-09 14:35:54 +0300 |
---|---|---|
committer | Zack Scholl <zack.scholl@gmail.com> | 2017-11-09 14:35:54 +0300 |
commit | 8dc77fd336233ed709c41e20be7e7821d271a10b (patch) | |
tree | e9875e95be98e195f0a58cf8682b24f8b3066bc0 | |
parent | 1a1f03289bb66382244d9095a0241926bf1bb117 (diff) |
Remove header from footer
-rwxr-xr-x | layouts/_default/single.html | 13 | ||||
-rwxr-xr-x | static/css/style.css | 5 |
2 files changed, 5 insertions, 13 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c0f73d9..1ff7f7f 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -10,24 +10,17 @@ DRAFT </div>
-
-<header>
- <a href="/">/posts</a>
-{{ range $.Site.Params.navigation }}{{ with $.Site.GetPage "page" . }}
- · <a href="{{ lower .Permalink }}" style="color:black;">/{{ .Title }}</a>
-{{ end }}{{ end }}
-
-</header>
<footer>
{{ if (eq .Type "post") }}
<p><small><em>Written {{ .Date.Format "January 2, 2006"}}. </em>
{{ if $.Site.Params.twitter }}
- Leave a comment for me on Twitter <a href="https://twitter.com/intent/tweet?text=%40{{ $.Site.Params.twitter }}%20%23{{ replace (.URL) "/" "" }}%20">@{{ $.Site.Params.twitter }}</a>.
+ Send feedback to <a href="https://twitter.com/intent/tweet?text=%40{{ $.Site.Params.twitter }}%20%23{{ replace (.URL) "/" "" }}%20">@{{ $.Site.Params.twitter }}</a>.
{{ end }}
</small></p>
<p>
- {{ if .PrevInSection }}<a href="{{ .PrevInSection.URL }}">← {{ .PrevInSection.Title }}</a> {{end}}{{ if .NextInSection }}<a href="{{ .NextInSection.URL }}" style="float:right;">{{ .NextInSection.Title }} →</a>{{ end }}
+ {{ if .PrevInSection }}<a href="{{ .PrevInSection.URL }}">← {{ .PrevInSection.Title }}</a> {{end}}
+ {{ if .NextInSection }}<a href="{{ .NextInSection.URL }}" style="float:right;">{{ .NextInSection.Title }} →</a>{{ end }}
</p>
{{ end }}
diff --git a/static/css/style.css b/static/css/style.css index da5a1f4..b9fc5b8 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -4,12 +4,12 @@ body, li p { font-family: 'Merriweather', serif;
}
-h1,h2,h3,h4,h5,h6,header,header.a, footer, footer.a {
+h1,h2,h3,h4,h5,h6,header,header.a {
text-transform: lowercase;
font-family: 'Alegreya Sans SC', sans-serif;
}
-header,header.a, footer, footer.a {
+header,header.a{
font-weight: bold;
}
@@ -95,7 +95,6 @@ header { footer {
display:block;
padding: 0.5rem 0 5.5rem 0;
- border-top: 0.10em solid black;
}
@media all and (max-width:520px) {
|