Page MenuHomeFreeBSD

website: Fix contributing article footer link
ClosedPublic

Authored by ziaee on May 18 2026, 2:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 2, 1:54 PM
Unknown Object (File)
Fri, Oct 2, 12:33 PM
Unknown Object (File)
Thu, Oct 1, 1:06 PM
Unknown Object (File)
Wed, Sep 30, 7:30 AM
Unknown Object (File)
Mon, Sep 28, 11:24 PM
Unknown Object (File)
Mon, Sep 28, 10:39 PM
Unknown Object (File)
Wed, Sep 23, 3:04 PM
Unknown Object (File)
Mon, Sep 21, 2:35 PM
Subscribers
None

Details

Summary

I know this is not the correct fix, but this is what's broken.

Reported by: debg

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ziaee requested review of this revision.May 18 2026, 2:23 PM
ziaee created this revision.

Do it like this by now, we will think in a final solution later

This revision is now accepted and ready to land.May 20 2026, 6:04 AM
This revision was automatically updated to reflect the committed changes.

I propose to use the same link, as "Documentation" item in th top menu (website/themes/layouts/_partials/site-header.html)
On the top of the page:
{{ $currentLang := $.Site.Language.Lang }}

link in site-header:
<a href="{{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/articles" }}">{{ i18n "h-articles" }}</a>

Proposed link text:
<a href="{{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/articles/contributing" }}" class="column-element">{{ i18n "f-get-involved" }}</a>

All languages have contributing article (en, ru, zh-tw)

I propose to use the same link, as "Documentation" item in th top menu (website/themes/layouts/_partials/site-header.html)
On the top of the page:
{{ $currentLang := $.Site.Language.Lang }}

link in site-header:
<a href="{{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/articles" }}">{{ i18n "h-articles" }}</a>

Proposed link text:
<a href="{{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/articles/contributing" }}" class="column-element">{{ i18n "f-get-involved" }}</a>

All languages have contributing article (en, ru, zh-tw)

If that will work, please go for it! I tried to use the printf initially but I didn't get the syntax correct.

I propose to use the same link, as "Documentation" item in th top menu (website/themes/layouts/_partials/site-header.html)
On the top of the page:
{{ $currentLang := $.Site.Language.Lang }}

link in site-header:
<a href="{{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/articles" }}">{{ i18n "h-articles" }}</a>

Proposed link text:
<a href="{{ printf "%s%s%s" "https://docs.FreeBSD.org/" $currentLang "/articles/contributing" }}" class="column-element">{{ i18n "f-get-involved" }}</a>

All languages have contributing article (en, ru, zh-tw)

If that will work, please go for it! I tried to use the printf initially but I didn't get the syntax correct.

Let my try. I just copied the syntax from other page. If it works, I will commit it, it is just a broken link.