Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alexandrevicenzi/soho.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2020-02-19 00:10:16 +0300
committerAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2020-02-19 00:12:26 +0300
commit177fbce5c26846a4902fd2a798a6968996ffb8ab (patch)
treeb83806eaebb40b6a7ffe309db20fda7ea5565a16
parent617de6b1209ca5f924bc68e3fd9988833547b1c4 (diff)
Built with on footer
-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;
}