2017-12-20 13:33:05 +00:00
|
|
|
{{ $lang := .Site.Data.even.default -}}
|
2017-08-27 14:38:42 +00:00
|
|
|
<div class="social-links">
|
|
|
|
{{- range $name, $path := .Site.Params.social }}
|
|
|
|
{{- if $path }}
|
|
|
|
{{- $realName := slicestr $name 2 }}
|
2017-09-14 15:11:46 +00:00
|
|
|
<a href="{{ $path | safeURL }}" class="iconfont icon-{{ $realName }}" title="{{ $realName }}"></a>
|
2017-08-27 14:38:42 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2018-01-30 13:26:46 +00:00
|
|
|
{{ if .Site.LanguagePrefix -}}
|
|
|
|
<a href="{{ .Site.LanguagePrefix | absURL }}/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
|
|
|
|
{{- else -}}
|
|
|
|
<a href="{{ .Site.RSSLink }}" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
|
|
|
|
{{- end }}
|
2017-08-27 14:38:42 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="copyright">
|
|
|
|
<span class="power-by">
|
2017-12-20 13:33:05 +00:00
|
|
|
{{ (printf $lang.footer.powered `<a class="hexo-link" href="https://gohugo.io">Hugo</a>`) | safeHTML }}
|
2017-08-27 14:38:42 +00:00
|
|
|
</span>
|
|
|
|
<span class="division">|</span>
|
|
|
|
<span class="theme-info">
|
2017-12-20 13:33:05 +00:00
|
|
|
{{ $lang.footer.theme }} -
|
2017-08-28 09:03:07 +00:00
|
|
|
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
|
2017-08-27 14:38:42 +00:00
|
|
|
</span>
|
|
|
|
|
2017-12-20 13:33:05 +00:00
|
|
|
{{ if .Site.Params.busuanzi.enable -}}
|
2018-01-10 08:21:01 +00:00
|
|
|
<div class="busuanzi-footer">
|
2017-12-20 13:33:05 +00:00
|
|
|
{{ $spinner := "img/spinner.svg" | relURL -}}
|
|
|
|
{{ if and .Site.Params.busuanzi.enable .Site.Params.busuanzi.sitePV -}}
|
|
|
|
{{ $valueSpan := printf `<span id="busuanzi_value_site_pv"><img src="%s" alt="spinner.svg"/></span>` $spinner -}}
|
|
|
|
<span id="busuanzi_container_site_pv"> {{ printf $lang.traffic.sitePV $valueSpan | safeHTML }} </span>
|
|
|
|
{{ if .Site.Params.busuanzi.siteUV }}<span class="division">|</span>{{ end }}
|
|
|
|
{{- end }}
|
2018-01-10 08:21:01 +00:00
|
|
|
{{ if and .Site.Params.busuanzi.enable .Site.Params.busuanzi.siteUV -}}
|
2017-12-20 13:33:05 +00:00
|
|
|
{{ $valueSpan := printf `<span id="busuanzi_value_site_uv"><img src="%s" alt="spinner.svg"/></span>` $spinner -}}
|
|
|
|
<span id="busuanzi_container_site_uv"> {{ printf $lang.traffic.siteUV $valueSpan | safeHTML }} </span>
|
|
|
|
{{- end }}
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
|
2017-08-27 14:38:42 +00:00
|
|
|
<span class="copyright-year">
|
|
|
|
{{- $current := now.Format "2006" }}
|
|
|
|
©
|
|
|
|
{{ if ne .Site.Params.since $current }}
|
|
|
|
{{ .Site.Params.since }} -
|
|
|
|
{{ end }}
|
|
|
|
{{- $current }}
|
|
|
|
<span class="heart">
|
|
|
|
<i class="iconfont icon-heart"></i>
|
|
|
|
</span>
|
2017-08-30 14:32:17 +00:00
|
|
|
<span class="author">{{if .Site.Copyright }}{{ .Site.Copyright | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }}</span>
|
2017-08-27 14:38:42 +00:00
|
|
|
</span>
|
|
|
|
</div>
|