styled feed; bug fixes

This commit is contained in:
Cory Dransfeldt 2023-03-15 16:33:42 -07:00
parent 18927e73ea
commit 9b17dc6d18
No known key found for this signature in database
9 changed files with 143 additions and 3 deletions

22
src/feeds/all.liquid Normal file
View file

@ -0,0 +1,22 @@
---
layout: null
permalink: /feeds/all.xml
---
{% layout "./_includes/feed.liquid" %}
{% block title %}All posts • Cory Dransfeldt{% endblock %}
{% block self %}all.xml{% endblock %}
{% block update %}{{ collections.posts | rssLastUpdatedDate }}{% endblock %}
{% block entries %}
{% assign posts = collections.posts | reverse %}
{% for post in posts %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ site.url }}{{ post.url }}" />
<updated>{{ post.date | date: "%m.%d.%Y" }}</updated>
<id>{{ site.url }}{{ post.url }}</id>
<content type="html">
{{ post.data.post_excerpt | markdown }}
</content>
</entry>
{% endfor %}
{% endblock %}