aboutsummaryrefslogtreecommitdiff
path: root/themes/even/layouts
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2018-11-06 20:16:54 +0000
committerJulio Capote <jcapote@gmail.com>2018-11-06 20:16:54 +0000
commite0db2367b15ba4c031d932fa675c1157909fddf1 (patch)
tree15a0b9cf7660b19c7d69e4a0117fcb71870d29b8 /themes/even/layouts
parent0997eafb438738d632a55a112826123e8ccd4043 (diff)
downloadcapotej.com-e0db2367b15ba4c031d932fa675c1157909fddf1.tar.gz
remove social/rss stuff
Diffstat (limited to '')
-rw-r--r--themes/even/layouts/partials/footer.html22
1 files changed, 4 insertions, 18 deletions
diff --git a/themes/even/layouts/partials/footer.html b/themes/even/layouts/partials/footer.html
index b6a1fa5..577d45f 100644
--- a/themes/even/layouts/partials/footer.html
+++ b/themes/even/layouts/partials/footer.html
@@ -1,24 +1,10 @@
-<div class="social-links">
- {{- range $name, $path := .Site.Params.social }}
- {{- if $path }}
- {{- $realName := slicestr $name 2 }}
- <a href="{{ $path | safeURL }}" class="iconfont icon-{{ $realName }}" title="{{ $realName }}"></a>
- {{- end }}
- {{- end }}
- {{ 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 }}
-</div>
-
<div class="copyright">
<span class="power-by">
{{ (printf (T "powered") `<a class="hexo-link" href="https://gohugo.io">Hugo</a>`) | safeHTML }}
</span>
<span class="division">|</span>
<span class="theme-info">
- {{ T "theme" }} -
+ {{ T "theme" }} -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
</span>
@@ -39,9 +25,9 @@
<span class="copyright-year">
{{- $current := now.Format "2006" }}
- &copy;
+ &copy;
{{ if ne .Site.Params.since $current }}
- {{ .Site.Params.since }} -
+ {{ .Site.Params.since }} -
{{ end }}
{{- $current }}
<span class="heart">
@@ -49,4 +35,4 @@
</span>
<span class="author">{{if .Site.Copyright }}{{ .Site.Copyright | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }}</span>
</span>
-</div> \ No newline at end of file
+</div>