feat: map authors to root urls + display them

This commit is contained in:
Cory Dransfeldt 2024-04-19 10:32:55 -07:00
parent 725408c487
commit c785c9a5df
No known key found for this signature in database
5 changed files with 13 additions and 4 deletions

View file

@ -15,8 +15,9 @@
<height>144</height>
</image>
{% for entry in entries limit: 20 -%}
{% assign author = entry.url | stripUtm | authorLookup %}
<item>
<title>{{ entry.title | escape }}</title>
<title>{{ entry.title | escape }}{% if author %} via {{ author }}{% endif %}</title>
<link>{{ entry.url | stripUtm | encodeAmp }}</link>
<pubDate>{{ entry.date | stringToRFC822Date }}</pubDate>
<guid>{{ entry.url | stripUtm | encodeAmp }}</guid>