Style the site footer
* Split the copyright and the "built with" text into separate configs * Style footer with smaller text * Add a thin border separating footer from rest of pagemaster
parent
c5891929fb
commit
ba844bf59a
|
@ -1,7 +1,7 @@
|
||||||
baseURL = "http://example.org/"
|
baseURL = "http://example.org/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Semantic IndieWeb Theme"
|
title = "Semantic IndieWeb Theme"
|
||||||
copyright = "Copyright © 2019, Copyright Owner Name | Built with [Hugo](https://gohugo.io/)"
|
copyright = "Copyright © 2019, Copyright Owner Name"
|
||||||
theme = "semantic-indieweb"
|
theme = "semantic-indieweb"
|
||||||
paginate = 5
|
paginate = 5
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ paginate = 5
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
subtitle = "A theme with no CSS and only basic layouts"
|
subtitle = "A theme with no CSS and only basic layouts"
|
||||||
|
builtWith = "Built with [Hugo](https://gohugo.io/)"
|
||||||
homepageSectionTitle = "What's New"
|
homepageSectionTitle = "What's New"
|
||||||
mainSections = [ "posts" ]
|
mainSections = [ "posts" ]
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
{{ with .Site.Copyright }}
|
{{ with .Site.Copyright }}
|
||||||
<p class="copyright">{{ . | markdownify }}</p>
|
<p class="copyright">{{ . | markdownify }}</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ with .Site.Params.BuiltWith }}
|
||||||
|
<p class="built-with">{{ . | markdownify }}</p>
|
||||||
|
{{ end }}
|
|
@ -30,3 +30,17 @@ nav.site-menu {
|
||||||
border-top: thin solid;
|
border-top: thin solid;
|
||||||
border-bottom: double;
|
border-bottom: double;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Styles for site footer */
|
||||||
|
p.copyright {
|
||||||
|
border-top: thin solid;
|
||||||
|
font-size: 0.8em;
|
||||||
|
text-align: center;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.built-with {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 0.8em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
Loading…
Reference in New Issue