Skip to content

Commit

Permalink
fix: use atom spec with term
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Apr 19, 2024
1 parent 37f7584 commit c8e688b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/feed/code.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ eleventyExcludeFromCollections: true
<content type="html">{{ post.templateContent | simplifyCodeHighlightingForRSS | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
{%- if post.data.tags %}
{% for tag in post.data.tags %}
<category>{{tag}}</category>
<category term="{{ tag }}"/>
{% endfor %}
{%- endif %}
</entry>
Expand Down
2 changes: 1 addition & 1 deletion src/feed/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ eleventyExcludeFromCollections: true
<content type="html">{{ post.templateContent | simplifyCodeHighlightingForRSS | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
{%- if post.data.tags %}
{% for tag in post.data.tags %}
<category>{{tag}}</category>
<category term="{{ tag }}"/>
{% endfor %}
{%- endif %}
</entry>
Expand Down
2 changes: 1 addition & 1 deletion src/feed/run.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ eleventyExcludeFromCollections: true
<content type="html">{{ post.templateContent | simplifyCodeHighlightingForRSS | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
{%- if post.data.tags %}
{% for tag in post.data.tags %}
<category>{{tag}}</category>
<category term="{{ tag }}"/>
{% endfor %}
{%- endif %}
</entry>
Expand Down

0 comments on commit c8e688b

Please sign in to comment.