mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-29 19:52:43 +01:00
24 lines
No EOL
1.3 KiB
HTML
24 lines
No EOL
1.3 KiB
HTML
<footer class="footer">
|
|
<div class="copyright">
|
|
<div class="copyright-line">
|
|
{{ (printf (T "powered") `<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">LoveIt<i class="far fa-heart fa-fw"></i></a>
|
|
</div>
|
|
<div class="copyright-line">
|
|
<i class="far fa-copyright fa-fw"></i>
|
|
{{- with .Site.Params.since -}}
|
|
<span itemprop="copyrightYear">{{ if lt . now.Year }}{{ . }} - {{ end }}{{ now.Year }}</span>
|
|
{{- else -}}
|
|
<span itemprop="copyrightYear">{{ now.Year }}</span>
|
|
{{- end -}}
|
|
{{- with .Site.Author.name -}}
|
|
<span class="author" itemprop="copyrightHolder"> <a href="{{ $.Site.BaseURL }}">{{ . }}</a></span>
|
|
{{- end -}}
|
|
{{- with .Site.Params.icp -}}
|
|
<span class="icp"> | {{ . | safeHTML }}</span>
|
|
{{- end -}}
|
|
{{- with .Site.Params.license -}}
|
|
<span class="license"> | {{ . | safeHTML }}</span>
|
|
{{- end -}}
|
|
</div>
|
|
</div>
|
|
</footer> |