Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2021 18:59:46 GMT
From:      Allan Jude <allanjude@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 873687264f - main - The RSS feed for news was missing the # in the URL, resulting in 404s
Message-ID:  <202102141859.11EIxkkZ052780@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by allanjude:

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

commit 873687264f6c2da455686aca195204325cff88a4
Author:     Allan Jude <allanjude@FreeBSD.org>
AuthorDate: 2021-02-14 18:58:13 +0000
Commit:     Allan Jude <allanjude@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 }}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102141859.11EIxkkZ052780>