chore: add rss for follow feed
This commit is contained in:
parent
db104f6c60
commit
75ad22fb70
6 changed files with 124 additions and 14 deletions
20
src/feeds/follow.liquid
Normal file
20
src/feeds/follow.liquid
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
layout: null
|
||||
permalink: /follow.xml
|
||||
---
|
||||
{% assign posts = follow.posts %}
|
||||
{% layout "./_includes/feed-links.liquid" %}
|
||||
{% block title %}Follow • Cory Dransfeldt{% endblock %}
|
||||
{% block self %}follow.xml{% endblock %}
|
||||
{% block update %}{{ articles[0].time | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}
|
||||
{% block entries %}
|
||||
{% for item in posts %}
|
||||
<entry>
|
||||
<title>{{ item.title | escape }}</title>
|
||||
<link href="{{item.url}}" />
|
||||
<updated>{{ item.date_published | date: "%m.%d.%Y" }}</updated>
|
||||
<id>{{ item.url }}</id>
|
||||
<content type="html"></content>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Reference in a new issue