fix: feed tweaks

This commit is contained in:
Cory Dransfeldt 2023-06-05 14:44:13 -07:00
parent 75ad22fb70
commit ea599fc539
No known key found for this signature in database
2 changed files with 4 additions and 5 deletions

View file

@ -7,7 +7,7 @@
<link href="{{ pkg.homepage }}/follow.xml" rel="self" />
<link href="{{ pkg.homepage }}/" />
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/" />
<updated>{% block update %}{{ links[0].time | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated>
<updated>{% block update %}{{ follow.posts[0].date_published | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated>
<id>{{ site.url }}</id>
<author>
<name>{{ site.name }}</name>

View file

@ -2,13 +2,12 @@
layout: null
permalink: /follow.xml
---
{% assign posts = follow.posts %}
{% layout "./_includes/feed-links.liquid" %}
{% layout "./_includes/feed-follow.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 update %}{{ follow.posts[0].date_published | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}
{% block entries %}
{% for item in posts %}
{% for item in follow.posts %}
<entry>
<title>{{ item.title | escape }}</title>
<link href="{{item.url}}" />