Monthly Reports merge requestshttps://gitlab.archlinux.org/archlinux/monthly-reports/-/merge_requests2023-07-22T12:11:37Zhttps://gitlab.archlinux.org/archlinux/monthly-reports/-/merge_requests/4Add rss feed to head for each page2023-07-22T12:11:37ZSebastian Wiesnersebastian@swsnr.deAdd rss feed to head for each pageCurrently the RSS feed is only listed in the head of <https://monthly-reports.archlinux.page/>; putting the URL of any report into a feed reader hence fails to find any feed.
This adds a partial as documented in the hugo-book theme to i...Currently the RSS feed is only listed in the head of <https://monthly-reports.archlinux.page/>; putting the URL of any report into a feed reader hence fails to find any feed.
This adds a partial as documented in the hugo-book theme to inject the RSS URL into the head of report pages; to avoid a duplicate feed link it first checks whether the current page is not already the homepage (which already has a feed link). Then it looks up the home page and extracts its RSS link, to avoid building the link manually.Levente Polyakanthraxx@archlinux.orgLevente Polyakanthraxx@archlinux.org