diff options
author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-02-19 00:10:16 +0300 |
---|---|---|
committer | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-02-19 00:12:26 +0300 |
commit | 177fbce5c26846a4902fd2a798a6968996ffb8ab (patch) | |
tree | b83806eaebb40b6a7ffe309db20fda7ea5565a16 | |
parent | 617de6b1209ca5f924bc68e3fd9988833547b1c4 (diff) |
Built with on footer
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/footer.html | 13 | ||||
-rw-r--r-- | static/css/hyde.css | 5 |
3 files changed, 13 insertions, 6 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 77309c0..ac2ae42 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 d8e44e7..cb0327c 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 6ca0a7f..4dc0c71 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; } |