fix: feed value references

This commit is contained in:
Cory Dransfeldt 2023-06-04 17:35:49 -07:00
parent 668627e1da
commit 5d919efcdd
3 changed files with 5 additions and 5 deletions

View file

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

View file

@ -48,7 +48,7 @@ https://nicolas-hoizey.com/feeds/all.xml
</svg>
Feed preview • links
</h2>
<p>Recently read and favorited links <a href="https://www.pinboard.in/api/">sourced from the Pinboard API.</a></p>
<p>Recently read and favorited links <a href="https://www.pinboard.in/api/">sourced from my Instapaper likes.</a></p>
<p><xsl:value-of select="atom:feed/atom:description"/></p>
</div>
<ul class="mb-8">

View file

@ -9,10 +9,10 @@ permalink: /links.xml
{% block entries %}
{% for link in links %}
<entry>
<title>{{ link.description | escape }}</title>
<link href="{{link.href}}" />
<title>{{ link.title | escape }}</title>
<link href="{{link.link}}" />
<updated>{{ link.time | date: "%m.%d.%Y" }}</updated>
<id>{{ link.href }}</id>
<id>{{ link.link }}</id>
<content type="html"></content>
</entry>
{% endfor %}