YDX-2147483647 / summaries

各种课程的总结、随记等。
https://ydx-2147483647.github.io/summaries/
4 stars 0 forks source link

Redundant RSS `<link>` #44

Closed YDX-2147483647 closed 8 months ago

YDX-2147483647 commented 8 months ago

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