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

Allan Jude <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by allanjude:

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

commit 873687264f6c2da455686aca195204325cff88a4
Author:     Allan Jude <[email protected]>
AuthorDate: 2021-02-14 18:58:13 +0000
Commit:     Allan Jude <[email protected]>
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 }}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.