diff --git a/src/_includes/feed-follow.liquid b/src/_includes/feed-follow.liquid index 4b07ca47..742d8326 100644 --- a/src/_includes/feed-follow.liquid +++ b/src/_includes/feed-follow.liquid @@ -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> diff --git a/src/feeds/follow.liquid b/src/feeds/follow.liquid index 9c35f12d..241a52ad 100644 --- a/src/feeds/follow.liquid +++ b/src/feeds/follow.liquid @@ -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}}" />