git: 873687264f - main - The RSS feed for news was missing the # in the URL, resulting in 404s

Allan Jude allanjude at FreeBSD.org
Sun Feb 14 18:59:47 UTC 2021


The branch main has been updated by allanjude:

URL: https://cgit.FreeBSD.org/doc/commit/?id=873687264f6c2da455686aca195204325cff88a4

commit 873687264f6c2da455686aca195204325cff88a4
Author:     Allan Jude <allanjude at FreeBSD.org>
AuthorDate: 2021-02-14 18:58:13 +0000
Commit:     Allan Jude <allanjude at FreeBSD.org>
CommitDate: 2021-02-14 18:58:13 +0000

    The RSS feed for news was missing the # in the URL, resulting in 404s
    
    Reported by:    Myke Geiger
    Sponsored by:   Klara Inc.
---
 website/themes/beastie/layouts/news/news.rss.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/themes/beastie/layouts/news/news.rss.xml b/website/themes/beastie/layouts/news/news.rss.xml
index 3e8cc6b6f8..d119936093 100644
--- a/website/themes/beastie/layouts/news/news.rss.xml
+++ b/website/themes/beastie/layouts/news/news.rss.xml
@@ -33,8 +33,8 @@
                   {{ $description }}
                 </description>
               {{ end }}
-              <link>{{ absLangURL ($.Site.BaseURL) }}news/newsflash/{{ dateFormat "2006-01-02" .date }}:{{ $newsCounter }}</link>
-              <guid>{{ absLangURL ($.Site.BaseURL) }}news/newsflash/{{ dateFormat "2006-01-02" .date }}:{{ $newsCounter }}</guid>
+              <link>{{ absLangURL ($.Site.BaseURL) }}news/newsflash/#{{ dateFormat "2006-01-02" .date }}:{{ $newsCounter }}</link>
+              <guid>{{ absLangURL ($.Site.BaseURL) }}news/newsflash/#{{ dateFormat "2006-01-02" .date }}:{{ $newsCounter }}</guid>
               <pubDate>{{ dateFormat "2006-01-02" .date }}</pubDate>
             </item>
           {{ end }}


More information about the dev-commits-doc-all mailing list