feat: consolidate all feeds into a single template and normalize inputs
This commit is contained in:
parent
638f784eb7
commit
517e849ef5
18 changed files with 104 additions and 154 deletions
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
layout: null
|
||||
permalink: /feeds/books
|
||||
---
|
||||
{% layout "./_includes/feeds/books.liquid" %}
|
||||
{% block title %}Books • Cory Dransfeldt{% endblock %}
|
||||
{% block self %}books.xml{% endblock %}
|
||||
{% block update %}{{ books[0].dateAdded | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}
|
||||
{% block entries %}
|
||||
{% for book in books %}
|
||||
<entry>
|
||||
<title>{{ book.title | escape }}</title>
|
||||
<link href="{{ book.url | stripUtm | encodeAmp }}" />
|
||||
<updated>{{ book.dateAdded | date: "%m.%d.%Y" }}</updated>
|
||||
<id>{{ book.url | stripUtm | encodeAmp }}</id>
|
||||
<content type="html"></content>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Reference in a new issue