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)
Thu, Aug 13, 2:50 AM
Unknown Object (File)
Thu, Aug 13, 12:33 AM
Unknown Object (File)
Tue, Aug 11, 5:56 PM
Unknown Object (File)
Mon, Aug 10, 2:12 PM
Unknown Object (File)
Mon, Aug 10, 12:00 PM
Unknown Object (File)
Sun, Aug 9, 4:54 PM
Unknown Object (File)
Sat, Aug 8, 3:57 PM
Unknown Object (File)
Sat, Aug 8, 10:46 AM
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.