Re: git: 87156a9a79 - main - website: Fix contributing article footer link
- In reply to: Vladlen Popolitov : "git: 87156a9a79 - main - website: Fix contributing article footer link"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 May 2026 15:23:34 UTC
On Wed, May 20, 2026, 5:22 PM Vladlen Popolitov <vladlen@freebsd.org> wrote:
> The branch main has been updated by vladlen:
>
> URL:
> https://cgit.FreeBSD.org/doc/commit/?id=87156a9a7986b60f1664ff9e72ab5adf2b6967b8
>
> commit 87156a9a7986b60f1664ff9e72ab5adf2b6967b8
> Author: Vladlen Popolitov <vladlen@FreeBSD.org>
> AuthorDate: 2026-05-20 15:22:10 +0000
> Commit: Vladlen Popolitov <vladlen@FreeBSD.org>
> CommitDate: 2026-05-20 15:22:10 +0000
>
> website: Fix contributing article footer link
>
> Reviewed by: ziaee
> Differential Revision: https://reviews.freebsd.org/D57064
> ---
> website/themes/beastie/layouts/_partials/site-footer.html | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/website/themes/beastie/layouts/_partials/site-footer.html
> b/website/themes/beastie/layouts/_partials/site-footer.html
> index b41023e569..64a1ba7d30 100755
> --- a/website/themes/beastie/layouts/_partials/site-footer.html
> +++ b/website/themes/beastie/layouts/_partials/site-footer.html
> @@ -1,3 +1,4 @@
> +{{ $currentLang := $.Site.Language.Lang }}
> <footer>
> <div class="footer-container">
> <section class="logo-column">
> @@ -59,7 +60,7 @@
> <h3 class="column-title">{{ i18n "f-community" }}</h3>
> <ul class="column-elements-container">
> <li>
> - <a href={{ "https://docs.freebsd.org/en/articles/contributing"
> | relLangURL }} class="column-element">{{ i18n "f-get-involved" }}</a>
> + <a href="{{ printf "%s%s%s" "https://docs.FreeBSD.org/"
> $currentLang "/articles/contributing" }}" class="column-element">{{ i18n
> "f-get-involved" }}</a>
> </li>
> <li>
> <a href="https://forums.freebsd.org/" target="_blank"
> class="column-element">{{ i18n "f-community-forum" }}</a>
>
>
> .
Thanks to both of you!