Skip to content

Commit b8769e1

Browse files
authored
fix: mauvaise URL pour le JSON feed (#1094)
2 parents be9e4a1 + d56dee8 commit b8769e1

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

content/theme/partials/json_feed.html.jinja2

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@ voir : https://github.com/squidfunk/mkdocs-material/pull/6907#issuecomment-19988
33
et https://guts.github.io/mkdocs-rss-plugin/configuration/#json_feed_enabled
44
#}
55
{% if "rss" in config.plugins %}
6-
<link
7-
rel="alternate"
8-
type="application/feed+json"
9-
title="JSON feed"
10-
href="{{ 'feed_rss_created.json' | url }}"
11-
/>
12-
<link
13-
rel="alternate"
14-
type="application/feed+json"
15-
title="JSON feed of updated content"
16-
href="{{ 'feed_rss_updated.json' | url }}"
6+
<link
7+
rel="alternate"
8+
type="application/feed+json"
9+
title="JSON feed" href="{{ 'feed_json_created.json' | url }}"
1710
/>
11+
<link
12+
rel="alternate"
13+
type="application/feed+json"
14+
title="JSON feed of updated content"
15+
href="{{ 'feed_json_updated.json' | url }}" />
1816
{% endif %}

0 commit comments

Comments
 (0)