Built with on footer

This commit is contained in:
Alexandre Vicenzi 2020-02-18 22:10:16 +01:00
parent 617de6b120
commit 177fbce5c2
3 changed files with 13 additions and 6 deletions

View File

@ -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"

View File

@ -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>

View File

@ -117,12 +117,9 @@ body {
width: 100%;
}
.copyright {
footer {
font-size: .7rem;
text-align: center;
}
footer {
height: 40px;
}