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)
Mon, Jun 8, 8:49 AM
Unknown Object (File)
Sun, Jun 7, 12:04 AM
Unknown Object (File)
Sun, Jun 7, 12:01 AM
Unknown Object (File)
Sun, Jun 7, 12:01 AM
Unknown Object (File)
Sat, Jun 6, 8:20 PM
Unknown Object (File)
Sat, Jun 6, 8:15 PM
Unknown Object (File)
Thu, Jun 4, 7:30 PM
Unknown Object (File)
Thu, Jun 4, 5:16 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.