feat: add social link for RSS and some configs (#250)

This commit is contained in:
Dillon
2020-04-22 23:58:40 +08:00
committed by GitHub
parent f5fb31ec43
commit 07b669c826
18 changed files with 199 additions and 67 deletions

View File

@@ -427,6 +427,13 @@
{{- partial "plugin/link.html" $options -}}
{{- end -}}
{{- /* 062: RSS */ -}}
{{- if .social.rss -}}
{{- $options := dict "href" (relLangURL "/index.xml") "title" "RSS" "newtab" true "rel" "me" -}}
{{- $options = dict "icon" (dict "class" "fas fa-rss fa-fw") | merge $options -}}
{{- partial "plugin/link.html" $options -}}
{{- end -}}
{{- /* Custom */ -}}
{{- with .social.Custom -}}
{{- . | safeHTML -}}