layouts: update RSS template to add consistent imagery
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
46bea3798c
commit
0e9d28eb49
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue