Convert YT links in feed to embeds
This commit is contained in:
parent
c918521429
commit
f8a2d73280
2 changed files with 12 additions and 5 deletions
|
|
@ -32,7 +32,7 @@ metadata:
|
|||
<link>{{ item.data.relativeUrl | absoluteUrl(metadata.url)}}</link>
|
||||
<pubDate>{{ item.date | stringToDate | dateToRfc822 }}</pubDate>
|
||||
<guid isPermaLink="false">{{ item.date | stringToDate | dateToRfc822 }}</guid>
|
||||
<description>{{ item.templateContent | htmlToAbsoluteUrls(metadata.url) }}</description>
|
||||
<description>{{ item.content | htmlToAbsoluteUrls(metadata.url) | convertYouTubeURLsToEmbeds }}</description>
|
||||
</item>
|
||||
|
||||
{%- endfor -%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue