summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/footer.html13
-rw-r--r--static/css/hyde.css5
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">
- &copy; {{ $.Site.Params.copyright }} {{ now.Format "2006"}} · {{ with $.Site.Params.license }}<a href="{{ $.Site.Params.licenseURL }}">{{ . | safeHTML }}</a>{{end}}
+ <div>
+ &copy; {{ $.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;
}