mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-11-21 22:42:19 +00:00
include 'powered by' in footer
This commit is contained in:
parent
09c9a8273b
commit
1f5c5f82e2
2 changed files with 20 additions and 0 deletions
|
@ -3,3 +3,9 @@ other = "On this page"
|
|||
|
||||
[series_posts]
|
||||
other = "More "
|
||||
|
||||
[all_rights]
|
||||
other = "All Rights Reserved"
|
||||
|
||||
[powered_by]
|
||||
other = "Powered by Hugo, Clarity, GitLab, and Netlify"
|
14
layouts/partials/footer.html
Normal file
14
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{- $s := .Site.Params }}
|
||||
{{ $t := .Site.Title }}
|
||||
{{- if or .Params.enableMathNotation $s.enableMathNotation }}
|
||||
{{ partialCached "math" . }}
|
||||
{{- end }}
|
||||
{{- $iconsDir := default "icons/" .Site.Params.iconsDir }}
|
||||
{{- $defaultFooterLogo := printf "%s%s" $iconsDir "apple-touch-icon.png"}}
|
||||
<footer class="footer">
|
||||
<div class="footer_inner wrap pale">
|
||||
<img src='{{ absURL (default $defaultFooterLogo $s.footerLogo) }}' class="icon icon_2 transparent" alt="{{ $t }}">
|
||||
<p>{{ T "copyright" }}{{ with $s.since }} {{ . }}-{{ end }} <span class="year"></span> {{ $t }}. {{ T "all_rights" }}. {{ T "powered_by" }}.</p>
|
||||
{{- partialCached "top" .}}
|
||||
</div>
|
||||
</footer>
|
Loading…
Reference in a new issue