From nobody Sun Sep 27 15:46:50 2026 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ht8231BfRz6th2D for ; Sun, 27 Sep 2026 15:46:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ht8230Ztcz4p7F for ; Sun, 27 Sep 2026 15:46:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790524011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AFn1sYhoJF2RqOKWsPnl9xmg9klKoX8yDvacEViosTo=; b=fAChMfI2cCCm15ZgFcCQT3aUaooIvahdsZdkwj9cWSB0yAnPSYVrUpRUt+NEmUEx70XQop jwpDZ+fFAOwL6oWavT3tQTmgF01cnDbIBXl6MnsF98URhilRKcwP+juMCNhHlrONBNBoTX J4ioQ+hG92TfDF7mozyAN9gCLxa5DhcsyGivRsPBHKafRiDJTPmV6xKcZ4dCHRMBSJf3cu Vx3o+fd/boTxzt4j8EdOEZoZCo1HO9ANK4DyNuveTfZtylhtdE2rFQSCpU7EIz3FAPBdeb C7c0tA1EJJwCIPRhihttJTTvsXLXKVLFTGI2UtvZnUXTEqSbTE6AtrZEPVqxMg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1790524011; b=h/1MXU/1W80YgeYjY5jdBI9+9FIV9xRWGGrAefR0L2Dk0AHF/2GbxRNsr3jlGxvnOsy0nW suesMr6ezpa2aYLVJiw6JfI15l742/f4xqcPnRuZbVAYCI92t5kJmYUjw4tOMkqEGkEZKK H8DrfnrRaKKvX0h2zZbq/UBFcjSA5cdjFCwFlOjQroETUxUYuiR5g6NSCnSJYk42aHvFO0 bS9wNVhF+DlKBe7Uqp7MAtWi3AlRMGdoY4Mpt3e8aDgJhMxeldm6HqlKA4YgxzqRubJb2K oqC7Oim5DAsLXV4jjBcrBW7y3PbAZSluyDTc4Ug2LKzoeQNlU2k0Ngzlvv92VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790524011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AFn1sYhoJF2RqOKWsPnl9xmg9klKoX8yDvacEViosTo=; b=xXRXa78mlZ1Km5sp65vrRz3nU7qDzmBcp3CkJAMFf0zaMIMleBWK9Uchfbp7v4iCiruGcn EDhWNjm1lKWqj7hcjXoSFMBtvGoIgVo8k/kAWQgTR1oJT7MGkYCqPNBPfyWImrRlsGuPJz Zc7aVsnXBuVlVehQj//JB/6LARFqtdkQPKzFW/LOOJ/Vtj+stqE2oxzrE9/SdGOg1H1Ex7 fyGiWQBNOEJS9IXCwUOHk8knX1Un2toRlOtPMLdr3v8yrEqg9Vxi/J4i1RLGkNPRESis5Z 84cjwq2tqvMty4ShOScezZJHXYTKJdaUmf1wPletf+L4Efx7WkCnneURfZZhpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4ht8226k80zpGH for ; Sun, 27 Sep 2026 15:46:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 228b5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 27 Sep 2026 15:46:50 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Vladlen Popolitov Subject: git: 1ff2007067 - main - Fix HTML validation errors in docs - on main page List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vladlen X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ff2007067e357203fc473be99bc89be1596d161 Auto-Submitted: auto-generated Date: Sun, 27 Sep 2026 15:46:50 +0000 Message-Id: <6ab93a6a.228b5.7faf8c00@gitrepo.freebsd.org> The branch main has been updated by vladlen: URL: https://cgit.FreeBSD.org/doc/commit/?id=1ff2007067e357203fc473be99bc89be1596d161 commit 1ff2007067e357203fc473be99bc89be1596d161 Author: Vladlen Popolitov AuthorDate: 2026-09-27 15:46:45 +0000 Commit: Vladlen Popolitov CommitDate: 2026-09-27 15:46:45 +0000 Fix HTML validation errors in docs - on main page Card titles on the documentation homepage were rendered as
right after the

from global-search.html, skipping two heading levels. The page also had no

. Add a visually hidden

{{ .Title }}

before the search partial, render card titles as

, and rename the .card a h5 selector to .card a .card-title with padding-top and padding-bottom set, so the look stays the same. Add a .visually-hidden helper to global.scss. Differential Revision: https://reviews.freebsd.org/D60069 PR: 297509 --- .../themes/beastie/assets/styles/global.scss | 16 +++++++++++++++- documentation/themes/beastie/layouts/index.html | 19 ++++++++++--------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/documentation/themes/beastie/assets/styles/global.scss b/documentation/themes/beastie/assets/styles/global.scss index 88554f711e..17a496ffd0 100644 --- a/documentation/themes/beastie/assets/styles/global.scss +++ b/documentation/themes/beastie/assets/styles/global.scss @@ -141,12 +141,14 @@ body { flex-direction: column; text-decoration: none; - h5 { + .card-title { color: var(--global-font-color); font-weight: 700; font-size: 22px; margin: 0px 0px 8px 0px; border-bottom: 0px; + padding-top: 0.1rem; + padding-bottom: 0.5rem; } p { @@ -213,6 +215,18 @@ ul.language-list { font-weight: 700; } +.visually-hidden { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + h1, h2, h3, diff --git a/documentation/themes/beastie/layouts/index.html b/documentation/themes/beastie/layouts/index.html index 3789a3d1b0..7ae440920f 100644 --- a/documentation/themes/beastie/layouts/index.html +++ b/documentation/themes/beastie/layouts/index.html @@ -8,59 +8,60 @@ {{ $downloadurl = printf "%s/%s/" $.Site.Params.websiteURL "where" }} {{ end }}
+

{{ .Title }}

{{ partial "global-search.html" . }}