mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-26 05:32:58 +00:00
added images to rss feed fix
This commit is contained in:
1 parent
14bf1b68a7
commit
9e1de94dab
1 file changed
+1
-2
@@ -38,8 +38,7 @@
|
||||
{{- $featured := $images.GetMatch "*feature*" -}}
|
||||
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}}
|
||||
{{- with $featured -}}
|
||||
<media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="{{ $featured.Permalink }}" />
|
||||
|
||||
<media:content xmlns:media="http://search.yahoo.com/mrss/" url="{{ $featured.Permalink }}" />
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
</item>
|
||||
|
||||
Reference in new issue
Block a user