Skip to content

Commit 5e5bd1a

Browse files
fix: improve readability of the feed entry Liquid
Co-Authored-By: Sebastian Beltran <[email protected]>
1 parent 874c995 commit 5e5bd1a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

_includes/feed-entry.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44
<link href="{{ site.url }}{{ entry.url }}" rel="alternate" type="text/html" />
55
<title type="text">{{ entry.title }}</title>
66
{%- for author in entry.authors %}
7-
<author>
8-
{% if author.name %}<name>{{ author.name }}</name>{% elsif author.github %}<name>@{{ author.github }}</name>{% endif %}
9-
{% if author.github %}<uri>https://github.com/{{ author.github }}</uri>{% endif %}
10-
</author>
7+
<author>
8+
{% if author.name %}
9+
<name>{{ author.name }}</name>
10+
{% elsif author.github %}
11+
<name>@{{ author.github }}</name>
12+
{% endif %}
13+
{% if author.github %}
14+
<uri>https://github.com/{{ author.github }}</uri>
15+
{% endif %}
16+
</author>
1117
{%- endfor %}
1218
<published>{{ entry.date | date_to_xmlschema }}</published>
1319
<updated>{{ entry.last_modified_at | default: post.date | date_to_xmlschema }}</updated>

0 commit comments

Comments
 (0)