Skip to content

Commit

Permalink
Retire les balises RSS personnalisées (#956)
Browse files Browse the repository at this point in the history
Car elles sont désormais gérées nativement par le thème. 

Cf :
https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/#rss

> Material for MkDocs will automatically add the [necessary
metadata](https://guts.github.io/mkdocs-rss-plugin/configuration/#integration)
to your site which will make the RSS feed discoverable by browsers and
feed readers. Note that the [RSS
plugin](https://guts.github.io/mkdocs-rss-plugin/) comes with several
other configuration options. For further information, see the
[documentation](https://guts.github.io/mkdocs-rss-plugin/configuration/).
  • Loading branch information
Guts authored Jul 24, 2023
2 parents 1a611ef + fb17534 commit a781bb2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions content/theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
<meta property="robots" content="index, follow" />
{% endif %}

{# RSS Feed #}
<link rel="alternate" type="application/rss+xml" title="RSS feed of created content"
href="{{ config.site_url }}feed_rss_created.xml">
<link rel="alternate" type="application/rss+xml" title="RSS feed of updated content"
href="{{ config.site_url }}feed_rss_updated.xml">

{# Meta title #}
{% set title = config.site_name %}
{% if page and page.meta and page.meta.title %}
Expand Down

0 comments on commit a781bb2

Please sign in to comment.