diff --git a/README.md b/README.md index 5b2fbea..1b225ae 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,4 @@ modified nerdfontsOnlySymbols file with fontforge-gtk to only have like 4 symbol - add code block expansion - Table of Content can render too long for the user to use on small width phone with a lot of headings. So I hid it on small width devices. But there is probably a better way for it, without making ToC scrollable because that would be 1000 times worse - better rss.xml theme, like [boltless](https://github.com/boltlessengineer/boltlessengineer.github.io/blob/989b409505d56f2c9fcbaf3cec1db8aac52156c7/templates/rss.xml#L2) +- when new release, delete rss.xml template and root level templates directory(https://github.com/NTBBloodbath/norgolith/pull/137) diff --git a/theme/templates/rss.xml b/theme/templates/rss.xml new file mode 100644 index 0000000..26bee47 --- /dev/null +++ b/theme/templates/rss.xml @@ -0,0 +1,33 @@ + + + + {{ config.title }} + {{ config.rootUrl | escape_xml | safe }} + {{ config.rss.description }} + Norgolith + {{ config.language }} + {{ now | date(format="%a, %d %b %Y %H:%M:%S %z") }} + {{ config.rss.ttl }} + + + + {{ config.rootUrl | escape_xml | safe }}{{ config.rss.image }} + {{ config.title }} + {{ config.rootUrl | escape_xml | safe }} + 144 + 144 + + + {% for post in posts %} + + {{ post.title }} + {{ post.permalink | escape_xml | safe }} + {{ post.permalink | escape_xml | safe }} + {{ post.description }} + Ladas552 + {{ post.created | date(format="%a, %d %b %Y %H:%M:%S %z") }} + {% if post.categories %}{% for category in post.categories %}{{ category }}{% endfor %}{% endif %} + + {% endfor %} + +