feat: add ratings
This commit is contained in:
parent
c37fc2f1a3
commit
614d1e210c
13 changed files with 98 additions and 66 deletions
|
@ -16,8 +16,13 @@
|
|||
</image>
|
||||
{% for entry in entries limit: 20 -%}
|
||||
{% assign author = entry.url | stripUtm | authorLookup %}
|
||||
{% assign rating = entry.rating %}
|
||||
<item>
|
||||
<title>{{ entry.title | escape }}{% if author %} via {{ author }}{% endif %}</title>
|
||||
<title>
|
||||
{{ entry.title | escape }}
|
||||
{% if author %} via {{ author }}{% endif %}
|
||||
{% if rating %} ({{ rating }}){% endif %}
|
||||
</title>
|
||||
<link>{{ entry.url | stripUtm | encodeAmp }}</link>
|
||||
<pubDate>{{ entry.date | stringToRFC822Date }}</pubDate>
|
||||
<guid>{{ entry.url | stripUtm | encodeAmp }}</guid>
|
||||
|
|
Reference in a new issue