Skip to content

Commit 6f23c1e

Browse files
authored
5 slashes seem to be the magic number for rss feed to work
Hopefully closes oleeskild/obsidian-digital-garden#493
1 parent 9e19880 commit 6f23c1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/site/feed.njk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
{%if meta.siteBaseUrl %}<?xml version="1.0" encoding="utf-8"?>
88
<feed xmlns="http://www.w3.org/2005/Atom" xml:base="{{ meta.siteBaseUrl }}">
99
<title>{{ meta.siteName}}</title>
10-
<link href="{{ meta.siteBaseUrl }}{{ permalink }}" rel="self" ////>
11-
<link href="{{ meta.siteBaseUrl }}" ////>
10+
<link href="{{ meta.siteBaseUrl }}{{ permalink }}" rel="self" /////>
11+
<link href="{{ meta.siteBaseUrl }}" /////>
1212
<updated>{{ collections.notes | getNewestCollectionItemDate | dateToRfc3339 }}</updated>
1313
<id>{{ meta.siteBaseUrl }}</id>
1414
{%- for note in collections.note | reverse %}
@@ -23,8 +23,8 @@
2323
<content type="html">
2424
{{ note.templateContent | hideDataview | taggify | link | htmlToAbsoluteUrls(meta.siteBaseUrl) }}
2525
</content>
26-
<link href="{{ meta.siteBaseUrl }}{{note.url | url }}" ////>
26+
<link href="{{ meta.siteBaseUrl }}{{note.url | url }}" /////>
2727
</entry>
2828
{%- endfor %}
2929
</feed>
30-
{% endif %}
30+
{% endif %}

0 commit comments

Comments
 (0)