Allow to disable credentials and copyright notice. Default: enabled
This commit is contained in:
parent
d32ff174a7
commit
40012a73c6
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
{{ $navigationEnabled := site.Params.footer.navigation.enable | default true }}
|
{{ $navigationEnabled := site.Params.footer.navigation.enable | default true }}
|
||||||
{{ $contactMeEnabled := site.Params.footer.contactMe.enable | default true }}
|
{{ $contactMeEnabled := site.Params.footer.contactMe.enable | default true }}
|
||||||
{{ $newsLetterEnabled := site.Params.newsletter.enable }}
|
{{ $newsLetterEnabled := site.Params.newsletter.enable }}
|
||||||
|
{{ $credentialsEnabled := site.Params.footer.credentials.enable | default true }}
|
||||||
|
|
||||||
{{ if $footerEnabled }}
|
{{ if $footerEnabled }}
|
||||||
{{ $author:= site.Data.author }}
|
{{ $author:= site.Data.author }}
|
||||||
|
@ -95,6 +96,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{ if $credentialsEnabled }}
|
||||||
<hr />
|
<hr />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row text-left">
|
<div class="row text-left">
|
||||||
|
@ -116,5 +118,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue