diff options
author | gizak <gizak@icloud.com> | 2015-02-19 22:46:01 +0300 |
---|---|---|
committer | gizak <gizak@icloud.com> | 2015-02-19 22:46:01 +0300 |
commit | af158004eb513a3411fb1cddb3404187e9a3f2e5 (patch) | |
tree | 297fe21cf8cf4f5cd1a2b62fb599194365485be2 | |
parent | b55f924dee7ce199ed5b0864db91c42d676e085c (diff) |
Add customized copyright support and fix navbar display when width = 768 px
-rw-r--r-- | layouts/partials/footer.html | 7 | ||||
-rw-r--r-- | static/css/custom.css | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 9b5faa1..bbd044e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,7 +2,12 @@ <div class="container"> <div class="row"> <div class="ten columns offset-by-two"> - <p class="footnote">Copyright: All rights reserved by <a href="mailto:{{ .Site.Author.email }}">@{{ .Site.Author.name }}</a>. + <p class="footnote"> + {{ if .Site.Copyright }} + {{ .Site.Copyright }} + {{ else }} + Copyright: All rights reserved by <a href="mailto:{{ .Site.Author.email }}">@{{ .Site.Author.name }}</a>. + {{ end }} {{ if or .Site.Author.github .Site.Author.twitter .Site.Author.facebook .Site.Author.linkedin }} Find me at diff --git a/static/css/custom.css b/static/css/custom.css index ec371e9..a19503f 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -167,7 +167,7 @@ body { } -@media screen and (max-width:768px){ +@media screen and (max-width:767px){ .navbar { display:none; overflow:visible; |