Skip to content

Commit

Permalink
allow micro posts in the feed
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 7, 2024
1 parent fa0fc1c commit 1a7f79b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions templates/index.xml
Expand Up @@ -20,7 +20,6 @@
<updated>{{ last_updated | date(format="%+") }}</updated>
<id>{{ feed_url | safe }}</id>
{%- for page in pages %}
{%- if page.components[0] != "micro" %}
<entry xml:lang="{{ page.lang }}">
<title>{{ page.title | markdown | striptags | trim }}</title>
<published>{{ page.date | date(format="%+") }}</published>
Expand All @@ -29,6 +28,5 @@
<id>{{ page.permalink | safe }}</id>
<content type="html">{{ page.content }}</content>
</entry>
{%- endif -%}
{%- endfor %}
</feed>

0 comments on commit 1a7f79b

Please sign in to comment.