YDX-2147483647 / summaries

各种课程的总结、随记等。

Home Page:https://ydx-2147483647.github.io/summaries/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redundant RSS `<link>`

YDX-2147483647 opened this issue · comments

MkDocs Material integrates seamlessly with the RSS plugin since v9.2.0 (released in August 2023), and MkDocs RSS Plugin also says everything is automagically set up.

Now we have redundant RSS <link>:

$ xhs https://ydx-2147483647.github.io/summaries/ | rg application/rss
        <link rel="alternate" type="application/rss+xml" title="RSS 订阅" href="feed_rss_created.xml">
        <link rel="alternate" type="application/rss+xml" title="已更新内容的 RSS 订阅" href="feed_rss_updated.xml">
  <link rel="alternate" type="application/rss+xml" title="新增内容的 RSS 源" href="feed_rss_created.xml">
  <link rel="alternate" type="application/rss+xml" title="更新内容的 RSS 源" href="feed_rss_updated.xml">

https://github.com/squidfunk/mkdocs-material/blob/43ed6fac8dfc5385a9bdf22d8bf207c868c23a80/src/templates/base.html#L63-L77