diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c8c3919..28f907d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,7 +1,7 @@ baseURL = "http://example.org/" languageCode = "en-us" 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" paginate = 5 @@ -10,6 +10,7 @@ paginate = 5 [params] subtitle = "A theme with no CSS and only basic layouts" + builtWith = "Built with [Hugo](https://gohugo.io/)" homepageSectionTitle = "What's New" mainSections = [ "posts" ] diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 3e80538..d37d533 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,6 @@ {{ with .Site.Copyright }} +{{ end }} +{{ with .Site.Params.BuiltWith }} +

{{ . | markdownify }}

{{ end }} \ No newline at end of file diff --git a/static/css/style.css b/static/css/style.css index 17b035b..9b43731 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -30,3 +30,17 @@ nav.site-menu { border-top: thin solid; 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; +} \ No newline at end of file