2022-02-06 20:36:10 +01:00
|
|
|
{{- $ThemeVersion := "3.8.0" -}}
|
2020-08-22 13:20:08 +02:00
|
|
|
<footer class="site-footer">
|
2020-12-20 12:34:44 +01:00
|
|
|
<section class="copyright">
|
|
|
|
©
|
|
|
|
{{ if and (.Site.Params.footer.since) (ne .Site.Params.footer.since (int (now.Format "2006"))) }}
|
|
|
|
{{ .Site.Params.footer.since }} -
|
|
|
|
{{ end }}
|
|
|
|
{{ now.Format "2006" }} {{ .Site.Title }}
|
|
|
|
</section>
|
|
|
|
|
2020-08-22 13:20:08 +02:00
|
|
|
<section class="powerby">
|
2020-12-20 12:34:44 +01:00
|
|
|
{{ with .Site.Params.footer.customText }}
|
|
|
|
{{ . | safeHTML }} <br/>
|
|
|
|
{{ end }}
|
|
|
|
|
2020-11-28 12:29:43 +01:00
|
|
|
{{- $Generator := `<a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>` -}}
|
|
|
|
{{- $Theme := printf `<b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="%s">Stack</a></b>` $ThemeVersion -}}
|
|
|
|
{{- $DesignedBy := `<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>` -}}
|
|
|
|
|
2020-12-19 01:41:26 +01:00
|
|
|
{{ T "footer.builtWith" (dict "Generator" $Generator) | safeHTML }} <br />
|
|
|
|
{{ T "footer.designedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}
|
2020-08-22 13:20:08 +02:00
|
|
|
</section>
|
2021-08-15 12:05:12 +02:00
|
|
|
</footer>
|