docs website: Wordsmith homepage

Wordsmith the docs project website title heading to make it clearer
that this is the docs project portal and not the main website home.
Also, tighten redundant uses of "FreeBSD". Saying it at least once
in every line and heading is quite tedious. Similarily, give the
anchors a more accurate and unique name to ease contribution.

Also tidy grammar on the search bar. Search bars never get punctuation,
unless it's an elipsis, the project uses serial commas, and "in" is not
really correct here.
This commit is contained in:
Alexander Ziaee
2026-09-08 09:26:27 -04:00
parent 6a53ad3743
commit 3a73e2a57d
2 changed files with 7 additions and 11 deletions
+5 -5
View File
@@ -10,14 +10,14 @@ other = "The FreeBSD Project"
[freebsd-foundation]
other = "The FreeBSD Foundation"
[freebsd-documentation]
other = "FreeBSD Documentation"
[documentation-portal]
other = "Documentation Project Portal"
[freebsd-documentation-main-desc]
[documentation-portal-main-desc]
other = "FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms."
[global-search-placeholder]
other = "Search in the articles, books and guides."
other = "Search the articles, books, and guides"
[toc]
other = "Table of Contents"
@@ -161,7 +161,7 @@ other = "FreeBSD Handbook"
other = "A constantly evolving, comprehensive resource for FreeBSD users"
[porters-handbook]
other = "FreeBSD Porter's Handbook"
other = "Porter's Handbook"
[porters-handbook-desc]
other = "A complete reference for the Ports Collection framework"
@@ -1,11 +1,7 @@
<section class="welcome-container">
<div class="title-language-container">
<h2>{{ i18n "freebsd-documentation" }}</h2>
<a href="#languages" title="Choose language">
<img src="{{ absLangURL ($.Site.BaseURL ) }}images/language.png" class="language-image" alt="{{ i18n "choose-language" }}">
</a>
</div>
<p>{{ i18n "freebsd-documentation-main-desc" }}</p>
<h2>{{ i18n "documentation-portal" }}</h2>
<p>{{ i18n "documentation-portal-main-desc" }}</p>
{{ $currentLanguage := $.Site.Language }}
<form class="search" method="get" id="search-form" action="https://docs.freebsd.org/search" name="search-form">
<input type="hidden" name="DB" value="{{ $currentLanguage }}" />