LoveIt/layouts/partials/footer.html

21 lines
1.1 KiB
HTML
Raw Normal View History

2019-02-03 12:30:44 +01:00
<footer class="footer">
<div class="copyright">
2019-08-26 09:17:21 +02:00
<span>{{ (printf (T "powered") `<a href="https://gohugo.io/" target="_blank" rel="external nofollow noopener noreffer">Hugo</a>`) | safeHTML }}&nbsp;|&nbsp;{{ T "theme" }}<a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="external nofollow noopener noreffer">LoveIt<i class="far fa-heart"></i></a></span>
<br />
2019-08-26 09:17:21 +02:00
<i class="far fa-copyright"></i>
{{- with .Site.Params.since -}}
2019-08-05 15:15:01 +02:00
<span itemprop="copyrightYear">{{ if lt . now.Year }}{{ . }} - {{ end }}{{ now.Year }}</span>
{{- else -}}
2019-08-11 19:36:19 +02:00
<span itemprop="copyrightYear">{{ now.Year }}</span>
{{- end -}}
{{- with .Site.Author.name -}}
<span class="author" itemprop="copyrightHolder">&nbsp;<a href="{{ $.Site.BaseURL }}">{{ . }}</a></span>
{{- end -}}
{{- with .Site.Params.icp -}}
<span class="icp">&nbsp;|&nbsp;{{ . | safeHTML }}</span>
{{- end -}}
{{- with .Site.Params.license -}}
<span class="license">&nbsp;|&nbsp;{{ . | safeHTML }}</span>
{{- end -}}
</div>
2019-08-18 19:36:52 +02:00
</footer>