Add copyright holder global param
This commit is contained in:
parent
a11f2684bc
commit
ff1883aa39
2 changed files with 2 additions and 1 deletions
|
@ -87,6 +87,7 @@ googleAnalytics = "" # Enable Google Analytics by entering your tracking id
|
|||
|
||||
[Params]
|
||||
description = "Responsive card-based & code-light Hugo theme" # Description of your site. Used in meta description
|
||||
copyright = "Binario" # Copyright holder, otherwise will use .Site.Title
|
||||
opengraph = true # Enable OpenGraph if true
|
||||
twitter_cards = true # Enable Twitter Cards if true
|
||||
cardsPerRow = 2 # Possible values: 1, 2, 3
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<footer class="footer">
|
||||
{{- partial "footer_social.html" . }}
|
||||
{{- partial "footer_menu.html" . }}
|
||||
<div class="footer__copyright">© {{ now.Format "2006" }} {{ .Site.Title }}. <span class="footer__copyright-credits">{{ T "footer_credits" | safeHTML }}</span></div>
|
||||
<div class="footer__copyright">© {{ now.Format "2006" }} {{ .Site.Params.copyright | default .Site.Title }}. <span class="footer__copyright-credits">{{ T "footer_credits" | safeHTML }}</span></div>
|
||||
</footer>
|
Loading…
Reference in a new issue