diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 77309c06dc96b96780e2c57a528014078bd201d5..ac2ae421609635937614d959857ed20d7302548c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -13,6 +13,7 @@ profilePicture = "images/profile.png" copyright = "Author Name" license = "CC BY-SA 4.0" licenseURL = "https://creativecommons.org/licenses/by-sa/4.0" +builtWith = true [[params.socialIcons]] icon = "fa-linkedin" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d8e44e7b59dd25e0b852fdb32c16fae54e1a6bf5..cb0327c8c48b16b3d16757b10aed95af1fb269a7 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,14 @@ <footer> - <div class="copyright"> - © {{ $.Site.Params.copyright }} {{ now.Format "2006"}} · {{ with $.Site.Params.license }}<a href="{{ $.Site.Params.licenseURL }}">{{ . | safeHTML }}</a>{{end}} + <div> + © {{ $.Site.Params.Copyright }} {{ now.Format "2006"}} + · + {{ with $.Site.Params.License }} + <a href="{{ $.Site.Params.licenseURL }}" + target="_blank">{{ . | safeHTML }}</a> + {{end}} + {{ with $.Site.Params.BuiltWith }} + · + Build with <a href="https://gohugo.io/" target="_blank">Hugo</a> & <a href="https://themes.gohugo.io/soho/" target="_blank">Soho</a> theme + {{end}} </div> </footer> diff --git a/static/css/hyde.css b/static/css/hyde.css index 6ca0a7f635a19dfe065f218fbf6ae204e5858d67..4dc0c7164adbc7d4f38af7538b98f5821ed262e9 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -117,12 +117,9 @@ body { width: 100%; } -.copyright { +footer { font-size: .7rem; text-align: center; -} - -footer { height: 40px; }