forked from nyancrimew/maia.crimew.gay
aaaaaa i fucking hate atom
This commit is contained in:
parent
0f77a8f5b4
commit
dba3645d06
1 changed files with 2 additions and 0 deletions
|
@ -29,10 +29,12 @@ metadata:
|
||||||
{% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %}
|
{% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %}
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ post.data.title }}</title>
|
<title>{{ post.data.title }}</title>
|
||||||
|
{% if post.data.description %}<summary>{{ post.data.description }}</summary>{% endif %}
|
||||||
{% if post.data.link %}<link href="{{ post.data.link }}"/>{% else %}<link href="{{ absolutePostUrl }}"/>{% endif %}
|
{% if post.data.link %}<link href="{{ post.data.link }}"/>{% else %}<link href="{{ absolutePostUrl }}"/>{% endif %}
|
||||||
<updated>{{ post.date | dateToRfc3339 }}</updated>
|
<updated>{{ post.date | dateToRfc3339 }}</updated>
|
||||||
<id>{{ absolutePostUrl }}</id>
|
<id>{{ absolutePostUrl }}</id>
|
||||||
<content:encoded type="html"><![CDATA[{{ post.templateContent | safe | htmlToAbsoluteUrls(absolutePostUrl) | safe }}]]></content:encoded>
|
<content:encoded type="html"><![CDATA[{{ post.templateContent | safe | htmlToAbsoluteUrls(absolutePostUrl) | safe }}]]></content:encoded>
|
||||||
|
<content type="html"><![CDATA[{{ post.templateContent | safe | htmlToAbsoluteUrls(absolutePostUrl) | safe }}]]></content>
|
||||||
{% if post.data.feature_image %}<media:content url="{{ post.data.feature_image | url | absoluteUrl(metadata.url) }}" type="image/jpeg" expression="full"></media:content>{% endif %}
|
{% if post.data.feature_image %}<media:content url="{{ post.data.feature_image | url | absoluteUrl(metadata.url) }}" type="image/jpeg" expression="full"></media:content>{% endif %}
|
||||||
</entry>
|
</entry>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue