commit
fa962aa039
1 changed files with 22 additions and 15 deletions
|
@ -1,33 +1,40 @@
|
||||||
<div class="social-links">
|
<div class="icon-links">
|
||||||
{{- range $name, $path := .Site.Params.social }}
|
{{ partial "social_links.html" . }}
|
||||||
{{- if $path }}
|
|
||||||
{{- $realName := slicestr $name 2 }}
|
|
||||||
<a href="{{ $path | safeURL }}" class="iconfont icon-{{ $realName }}" title="{{ $realName }}"></a>
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
<a href="{{ .Site.RSSLink }}" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
<span class="power-by">
|
<span class="power-by">
|
||||||
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
|
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="copyright-year">
|
<span class="copyright-year">
|
||||||
{{- $current := now.Format "2006" }}
|
{{- $current := now.Format "2006" }}
|
||||||
©
|
©
|
||||||
{{ if ne .Site.Params.since $current }}
|
{{ if ne .Site.Params.since $current }}
|
||||||
{{ .Site.Params.since }} -
|
{{ .Site.Params.since }} -
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- $current }}
|
{{- $current }}
|
||||||
<span class="heart">
|
<span class="heart">
|
||||||
<i class="iconfont icon-heart"></i>
|
{{/* icon heart */}}
|
||||||
|
<i class="iconfont">
|
||||||
|
{{ partial "svg/heart.svg" }}
|
||||||
|
</i>
|
||||||
</span>
|
</span>
|
||||||
<span class="author">{{if .Site.Copyright }}{{ .Site.Copyright | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }}</span>
|
{{- if or .Site.Copyright .Site.Author.name -}}
|
||||||
</span>
|
<span class="author">
|
||||||
|
{{if .Site.Copyright }}{{ .Site.Copyright | safeHTML }}
|
||||||
|
{{ else }}{{ .Site.Author.name | safeHTML }}
|
||||||
|
{{ end }}
|
||||||
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />This work by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Salar Rahmanian</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />This work by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Salar Rahmanian</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
||||||
Please attribute properly and link back. <br/>
|
Please attribute properly and link back. <br/>
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
|
{{- end -}}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
{{ if .Site.Params.customFooter }}
|
||||||
|
<span>
|
||||||
|
{{ .Site.Params.customFooter | safeHTML }}
|
||||||
|
</span>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue