Page MenuHomeFreeBSD

website: Fix contributing article footer link
ClosedPublic

Authored by ziaee on May 18 2026, 2:23 PM.
Tags
None
Referenced Files
F171073384: D57064.id178009.diff
Tue, Sep 8, 1:19 PM
F171008120: D57064.id178199.diff
Tue, Sep 8, 4:07 AM
Unknown Object (File)
Mon, Sep 7, 10:07 PM
Unknown Object (File)
Sun, Sep 6, 2:40 AM
Unknown Object (File)
Sat, Sep 5, 5:03 PM
Unknown Object (File)
Sat, Sep 5, 5:32 AM
Unknown Object (File)
Sat, Sep 5, 3:34 AM
Unknown Object (File)
Sat, Sep 5, 3:18 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.