fix: feed tweaks
This commit is contained in:
parent
75ad22fb70
commit
ea599fc539
2 changed files with 4 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
||||||
<link href="{{ pkg.homepage }}/follow.xml" rel="self" />
|
<link href="{{ pkg.homepage }}/follow.xml" rel="self" />
|
||||||
<link href="{{ pkg.homepage }}/" />
|
<link href="{{ pkg.homepage }}/" />
|
||||||
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/" />
|
<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>
|
<id>{{ site.url }}</id>
|
||||||
<author>
|
<author>
|
||||||
<name>{{ site.name }}</name>
|
<name>{{ site.name }}</name>
|
||||||
|
|
|
@ -2,13 +2,12 @@
|
||||||
layout: null
|
layout: null
|
||||||
permalink: /follow.xml
|
permalink: /follow.xml
|
||||||
---
|
---
|
||||||
{% assign posts = follow.posts %}
|
{% layout "./_includes/feed-follow.liquid" %}
|
||||||
{% layout "./_includes/feed-links.liquid" %}
|
|
||||||
{% block title %}Follow • Cory Dransfeldt{% endblock %}
|
{% block title %}Follow • Cory Dransfeldt{% endblock %}
|
||||||
{% block self %}follow.xml{% 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 %}
|
{% block entries %}
|
||||||
{% for item in posts %}
|
{% for item in follow.posts %}
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ item.title | escape }}</title>
|
<title>{{ item.title | escape }}</title>
|
||||||
<link href="{{item.url}}" />
|
<link href="{{item.url}}" />
|
||||||
|
|
Reference in a new issue