layouts: update RSS template to add consistent imagery

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-04-11 13:19:08 +05:30
parent 46bea3798c
commit 0e9d28eb49
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
{{ if .Params.SocialImage }}
<image>{{ .Site.BaseURL }}{{ .Params.SocialImage }}</image>
{{ else }}
<image>{{ .Site.Params.SocialImage }}</image>
{{ end }}
</item>
{{ end }}
</channel>