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

footer.html « partials « layouts - github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d6c72e4046364278f81fe1b10b2e399612f5aa43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<footer class="footer">
    <div class="copyright">
        {{- /* Hugo and LoveIt */ -}}
        <div class="copyright-line">
            {{- printf (T "poweredBySome") `<a href="https://gohugo.io/" target="_blank" rel="external nofollow noopener noreffer">Hugo</a>` | safeHTML }} | {{ T "theme" }} - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="external nofollow noopener noreffer"><i class="far fa-heart fa-fw"></i> LoveIt</a>
        </div>

        <div class="copyright-line">
            {{- /* Copyright year */ -}}
            <i class="far fa-copyright fa-fw"></i>
            {{- with .Site.Params.footer.since -}}
                <span itemprop="copyrightYear">
                    {{- if lt . now.Year }}{{ . }} - {{ end }}{{ now.Year -}}
                </span>
            {{- else -}}
                <span itemprop="copyrightYear">{{ now.Year }}</span>
            {{- end -}}

            {{- /* Author */ -}}
            {{- with .Site.Author.name -}}
                <span class="author" itemprop="copyrightHolder">&nbsp;<a href="{{ $.Site.Author.link | default (relLangURL `/`) }}" target="_blank">{{ . }}</a></span>
            {{- end -}}

            {{- /* License */ -}}
            {{- with .Site.Params.footer.license -}}
                &nbsp;|&nbsp;<span class="license">{{ . | safeHTML }}</span>
            {{- end -}}

            {{- /* ICP */ -}}
            {{- with .Site.Params.footer.icp -}}
                <span class="icp-splitter">&nbsp;|&nbsp;</span><br class="icp-br"/>
                <span class="icp">{{ . | safeHTML }}</span>
            {{- end -}}
        </div>
    </div>
</footer>