git: 722d082fbe - main - Fix broken link to security advisories and errata notices page from translated top page.

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=722d082fbe912d8cf34c7932c5447359cab652e4

commit 722d082fbe912d8cf34c7932c5447359cab652e4
Author:     Ryusuke SUZUKI <[email protected]>
AuthorDate: 2021-02-19 15:16:55 +0000
Commit:     Ryusuke SUZUKI <[email protected]>
CommitDate: 2021-02-19 15:16:55 +0000

    Fix broken link to security advisories and errata notices page from translated top page.
---
 website/themes/beastie/layouts/partials/advisories.html     | 2 +-
 website/themes/beastie/layouts/partials/errata-notices.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/themes/beastie/layouts/partials/advisories.html b/website/themes/beastie/layouts/partials/advisories.html
index 42d800681c..b9eab4285b 100644
--- a/website/themes/beastie/layouts/partials/advisories.html
+++ b/website/themes/beastie/layouts/partials/advisories.html
@@ -5,7 +5,7 @@
       <p>
         <span class="txtdate">{{ .date }}</span>
         <br />
-        <a href="{{.Site.BaseURL | relLangURL }}security/advisories/{{ .name }}.asc">{{ .name }}</a>
+        <a href="{{ $.Site.BaseURL }}security/advisories/{{ .name }}.asc">{{ .name }}</a>
       </p>
     {{ end }}
     {{ $advisoriesCounter = add $advisoriesCounter 1 }}
diff --git a/website/themes/beastie/layouts/partials/errata-notices.html b/website/themes/beastie/layouts/partials/errata-notices.html
index e08168452e..a043fbc9ce 100644
--- a/website/themes/beastie/layouts/partials/errata-notices.html
+++ b/website/themes/beastie/layouts/partials/errata-notices.html
@@ -5,7 +5,7 @@
       <p>
         <span class="txtdate">{{ .date }}</span>
         <br />
-        <a href="{{.Site.BaseURL | relLangURL }}security/advisories/{{ .name }}.asc">{{ .name }}</a>
+        <a href="{{ $.Site.BaseURL }}security/advisories/{{ .name }}.asc">{{ .name }}</a>
       </p>
     {{ end }}
     {{ $errataCounter = add $errataCounter 1 }}
_______________________________________________
[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.