mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-11-23 15:19:15 +00:00
Design updates, adding 2027 posts
This commit is contained in:
parent
2d50bec4cb
commit
e51d53994a
30 changed files with 521 additions and 81 deletions
|
|
@ -19,7 +19,7 @@
|
|||
<generator>http://hexo.io/</generator>
|
||||
{% for post in posts.toArray() %}
|
||||
<item>
|
||||
<title>{{ post.title }}</title>
|
||||
<title>{% if post.event and post.event.status == 'cancelled' %}[Cancelled] {% endif %}{{ post.title }}</title>
|
||||
<link>{{ post.permalink | uriencode }}</link>
|
||||
<guid>{{ post.permalink | uriencode }}</guid>
|
||||
<pubDate>{{ post.date.toDate().toUTCString() }}</pubDate>
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
{% elif post.excerpt %}
|
||||
<description>{{ post.excerpt }}</description>
|
||||
{% endif %}
|
||||
{% if post.photos %}
|
||||
{% if post.photos and post.photos.length %}
|
||||
<enclosure url="{{ url + post.photos[0] | uriencode }}" type="image/jpeg"/>
|
||||
{% endif %}
|
||||
{% if config.feed.content and post.content %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue