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

@@ -34,7 +34,7 @@
{{- with .Get "list-max-height" }} list-max-height="{{ . }}"{{ end -}}
></meting-js>
{{- end -}}
{{- else if strings.HasSuffix (.Get 0) "http" -}}
{{- else if (.Get 0 | urls.Parse).Host -}}
<meting-js auto="{{ .Get 0 }}" theme="{{ $theme }}"></meting-js>
{{- else -}}
<meting-js server="{{ .Get 0 }}" type="{{ .Get 1 }}" id="{{ .Get 2 }}" theme="{{ $theme }}"></meting-js>