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" copyright = "Author Name"
license = "CC BY-SA 4.0" license = "CC BY-SA 4.0"
licenseURL = "https://creativecommons.org/licenses/by-sa/4.0" licenseURL = "https://creativecommons.org/licenses/by-sa/4.0"
builtWith = true
[[params.socialIcons]] [[params.socialIcons]]
icon = "fa-linkedin" icon = "fa-linkedin"

View File

@ -1,5 +1,14 @@
<footer> <footer>
<div class="copyright"> <div>
&copy; {{ $.Site.Params.copyright }} {{ now.Format "2006"}} · {{ with $.Site.Params.license }}<a href="{{ $.Site.Params.licenseURL }}">{{ . | safeHTML }}</a>{{end}} &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> </div>
</footer> </footer>

View File

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