Welcome to mirror list, hosted at ThFree Co, Russian Federation.

footer.html « footer « partials « layouts - github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6bd37b295b2f6cc7cd5b22489408cf8dd0e69de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{- $ThemeVersion := "1.1.0" -}}
<footer class="site-footer">
    <section class="copyright">&copy; {{ now.Format "2006" }} {{ .Site.Title }}</section>
    <section class="powerby">
        {{- $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>` -}}

        {{ T "footerBuiltWith" (dict "Generator" $Generator) | safeHTML }} <br />
        {{ T "footerDesignedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}
    </section>
</footer>