feat: consolidate all feeds into a single template and normalize inputs

This commit is contained in:
Cory Dransfeldt 2023-09-06 11:49:40 -07:00
parent 638f784eb7
commit 517e849ef5
No known key found for this signature in database
18 changed files with 104 additions and 154 deletions

View file

@ -1,19 +0,0 @@
---
layout: null
permalink: /feeds/follow
---
{% layout "./_includes/feeds/follow.liquid" %}
{% block title %}Follow • Cory Dransfeldt{% endblock %}
{% block self %}follow.xml{% endblock %}
{% block update %}{{ follow.posts[0].date_published | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}
{% block entries %}
{% for item in follow.posts %}
<entry>
<title>{{ item.title | escape }}</title>
<link href="{{item.url | stripUtm | encodeAmp }}" />
<updated>{{ item.date_published | date: "%m.%d.%Y" }}</updated>
<id>{{ item.url | stripUtm | encodeAmp }}</id>
<content type="html"></content>
</entry>
{% endfor %}
{% endblock %}