mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
24 lines
934 B
HTML
24 lines
934 B
HTML
<footer class="footer">
|
|
<section class="container">
|
|
©
|
|
{{ if (and .Site.Params.since (lt .Site.Params.since now.Year)) }}
|
|
{{ .Site.Params.since }} -
|
|
{{ end }}
|
|
{{ now.Year }}
|
|
{{ with .Site.Params.author }} {{ . }} {{ end }}
|
|
·
|
|
{{ if (and .Site.Params.license) }}
|
|
{{ i18n "licensed_under" }} {{ .Site.Params.license | safeHTML }}
|
|
·
|
|
{{ end }}
|
|
{{ if not .Site.Params.hideCredits }}
|
|
{{ if not .Site.Params.hideCopyright }} · {{ end }}
|
|
{{ i18n "powered_by" }} <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/13hannes11/hugo-coder-timeline">Coder-Timeline</a>.
|
|
{{ end }}
|
|
{{ if .Site.Params.commit }}
|
|
{{ if or (not .Site.Params.hideCredits) (not .Site.Params.hideCopyright) }} · {{ end }}
|
|
[<a href="{{ .Site.Params.commit }}{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]
|
|
{{ end }}
|
|
</section>
|
|
</footer>
|