git: e68d8f44ad - main - Fix broken links in security advisory RSS feed.

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

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

commit e68d8f44adbd4a34036c62b478e00f06dcd33634
Author:     Ryusuke SUZUKI <[email protected]>
AuthorDate: 2021-02-24 12:00:35 +0000
Commit:     Ryusuke SUZUKI <[email protected]>
CommitDate: 2021-02-24 12:00:35 +0000

    Fix broken links in security advisory RSS feed.
    
    PR:        253768
---
 website/themes/beastie/layouts/security/security.rss.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/website/themes/beastie/layouts/security/security.rss.xml b/website/themes/beastie/layouts/security/security.rss.xml
index 891170122d..0e0a9801f6 100644
--- a/website/themes/beastie/layouts/security/security.rss.xml
+++ b/website/themes/beastie/layouts/security/security.rss.xml
@@ -18,8 +18,8 @@
         {{ if lt $securityCounter 10 }}
           <item>
             <title>{{ .name }}</title>
-            <link>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</link>
-            <guid>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</guid>
+            <link>{{ absLangURL ($.Site.BaseURL) }}security/advisories/{{ .name }}.asc</link>
+            <guid>{{ absLangURL ($.Site.BaseURL) }}security/advisories/{{ .name }}.asc</guid>
             <pubDate>{{ .date }}</pubDate>
           </item>
         {{ end }}
@@ -29,8 +29,8 @@
       {{ range (sort .advisories "date" "desc") }}
           <item>
             <title>{{ .name }}</title>
-            <link>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</link>
-            <guid>{{.Site.BaseURL | relLangURL }}/security/advisories/{{ .name }}.asc</guid>
+            <link>{{ absLangURL ($.Site.BaseURL) }}/security/advisories/{{ .name }}.asc</link>
+            <guid>{{ absLangURL ($.Site.BaseURL) }}/security/advisories/{{ .name }}.asc</guid>
             <pubDate>{{ .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.