diff options
Diffstat (limited to 'templates/index.xml')
-rw-r--r-- | templates/index.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/index.xml b/templates/index.xml index ecf618e..4dc3bba 100644 --- a/templates/index.xml +++ b/templates/index.xml @@ -9,6 +9,7 @@ </description> <atom:link href="https://soap.coffee/~lthms/posts/index.xml" rel="self" type="application/rss+xml" /> {% for article in contents %} + {% if article.date %} <item> <title>{{ article.title | striptags }}</title> <link>{{ base }}{{ article.url }}</link> @@ -20,6 +21,7 @@ {% endif %} </description> </item> + {% endif %} {% endfor %} </channel> </rss> |