From nobody Tue Aug 20 16:44:33 2024 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 4WpFg53hdDz5TR4l for ; Tue, 20 Aug 2024 16:44:33 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WpFg53DmFz4CnB; Tue, 20 Aug 2024 16:44:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724172273; 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=bBh98VkQ8fhyzVejDtEj4aGSCYKhad1ekUongUgo/V8=; b=LtPNqNE0Py07fRkw55HMHI8IltXJZO5Q5BSKGZ/JWk/1sWR3+cstYwuNNSuei77lYaKghw PMzFFzlg5499Sf/6Ex+7pJcDWOYizNAgwuY+dQf9x4jS5Acnbev+noliM2n6j2oNmScgE4 /e8/8AYHE7qKc3GWFDlD/tVlkg9yJUnk+Hz+cioXpeLA+c2l3WEGCU9b5lfNcPHb9RyOYu xef6mFrkVtWXtXL+47ErR3ltaausjetDxRjosMdRVRSFSLiTOrwfXO0/t3+iyViy6cWfMz dcLX+VADvvyT+HC4gDrhkv/xvBYhsSKb/3YZUHh6g9Xpk2DXQFFCpsipzTxtQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724172273; a=rsa-sha256; cv=none; b=MD17cvA5tnA8pwATlE7SL5zqnj4A0OilrxCVdUkMYRHLu/f9/oWyea64gP0uAo9o99qp1N 2IJWoSLyc4G0GX3bcjQGbHFvjK0IruuvYmjVsHgwqp6XDQKxt3ORd5h1Ptz1WThYqpAwj6 VSYVH4Vr9tlZkHjGYHmEKK31sdDVuTtNYZO9EP2LojnskPajl2QnQeOmXQ7dty4Yc6Zfko CVPhqofIhBozd0g45Mv8G8YXxoJMUZbQUDlJ0Dz7Snn25n+rljiB5A7rgd2jAZN1dY85zD 2l5Dp9GC7j0QYB2WWTn3t3hjredjeJynTdLwh+U7De9u4wuL9Z2aCaRmvufXjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724172273; 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=bBh98VkQ8fhyzVejDtEj4aGSCYKhad1ekUongUgo/V8=; b=IroRFkufgUR2TjpAVIFWw41sc+0CZMSZcGDzGQHEEMpT/UWRf4WsGPrH3yRYf1QtXTjtr0 u9B3ziydwpORvfBBcrG8RoAFoAwy3fz1S7Ax6TgZ2WOoz9VuSf1ZD3NM+GRJ9lLOkcxdC8 D4uCajbM/I83Rcl3DV50OYnGSS/wVN+4d+dB0IwaYiTOy100Yp3cT2GoI9PkN8Nb6SLqdD BLxNHoIAzluzjaA3/x3x2X2Z3X1Wym+ec64GCYm1idRMj2zMloKS7553UgZgOce23Buinf pSTGrcpeFynnV6NN00Hmtc8dwTJZecwEijll7SRTNvQLR3Frfr8jzHWwCyOAhQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WpFg52rGgz1775; Tue, 20 Aug 2024 16:44:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47KGiXnZ063654; Tue, 20 Aug 2024 16:44:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47KGiXLF063651; Tue, 20 Aug 2024 16:44:33 GMT (envelope-from git) Date: Tue, 20 Aug 2024 16:44:33 GMT Message-Id: <202408201644.47KGiXLF063651@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: 7a9cfade2b - main - Revert "website: Replace deprecated attribute" 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7a9cfade2b6f68f2bc135a0557b9bca30192f7f1 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=7a9cfade2b6f68f2bc135a0557b9bca30192f7f1 commit 7a9cfade2b6f68f2bc135a0557b9bca30192f7f1 Author: Fernando ApesteguĂ­a AuthorDate: 2024-08-20 16:23:23 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-08-20 16:23:23 +0000 Revert "website: Replace deprecated attribute" This reverts commit 67473601100cbf8bba453d53352676d52702f1c6. To be reapplied when the gohugo 0.133.0 package is available in the CI. --- website/themes/beastie/layouts/_default/list.ics | 2 +- website/themes/beastie/layouts/events/list.html | 2 +- website/themes/beastie/layouts/events/list.ics | 2 +- website/themes/beastie/layouts/events/single.html | 2 +- website/themes/beastie/layouts/news/list.html | 2 +- website/themes/beastie/layouts/news/single.html | 2 +- website/themes/beastie/layouts/partials/commercial-consulting.html | 2 +- website/themes/beastie/layouts/partials/commercial-hardware.html | 2 +- website/themes/beastie/layouts/partials/commercial-isp.html | 2 +- website/themes/beastie/layouts/partials/commercial-misc.html | 2 +- website/themes/beastie/layouts/partials/commercial-software.html | 2 +- website/themes/beastie/layouts/partials/events.html | 2 +- website/themes/beastie/layouts/partials/news.html | 2 +- website/themes/beastie/layouts/partials/press.html | 2 +- website/themes/beastie/layouts/press/list.html | 2 +- website/themes/beastie/layouts/press/single.html | 2 +- website/themes/beastie/layouts/shortcodes/get-event-last-year-info.html | 2 +- website/themes/beastie/layouts/shortcodes/get-usergroups-info.html | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/website/themes/beastie/layouts/_default/list.ics b/website/themes/beastie/layouts/_default/list.ics index f6adf934ca..abe43c5c00 100644 --- a/website/themes/beastie/layouts/_default/list.ics +++ b/website/themes/beastie/layouts/_default/list.ics @@ -2,7 +2,7 @@ BEGIN:VCALENDAR VERSION:2.0 PRODID:-//FreeBSD//events calendar//EN CALSCALE:GREGORIAN -METHOD:PUBLISH{{ $data := index .Site.Data .Sites.Default.Language.Lang }}{{ $eventsData := $data }}{{ with $eventsData }}{{ range (sort .events "year" "desc") }}{{ range (sort .events "startDate" "desc") }} +METHOD:PUBLISH{{ $data := index .Site.Data .Sites.First.Language.Lang }}{{ $eventsData := $data }}{{ with $eventsData }}{{ range (sort .events "year" "desc") }}{{ range (sort .events "startDate" "desc") }} BEGIN:VEVENT UID:{{ .id }} SUMMARY:{{ .name }} diff --git a/website/themes/beastie/layouts/events/list.html b/website/themes/beastie/layouts/events/list.html index 97faff7303..6d729b3328 100644 --- a/website/themes/beastie/layouts/events/list.html +++ b/website/themes/beastie/layouts/events/list.html @@ -23,7 +23,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $eventsData = $data }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $eventsData = $dataDefaultLanguage }} {{ end }} diff --git a/website/themes/beastie/layouts/events/list.ics b/website/themes/beastie/layouts/events/list.ics index f6adf934ca..abe43c5c00 100644 --- a/website/themes/beastie/layouts/events/list.ics +++ b/website/themes/beastie/layouts/events/list.ics @@ -2,7 +2,7 @@ BEGIN:VCALENDAR VERSION:2.0 PRODID:-//FreeBSD//events calendar//EN CALSCALE:GREGORIAN -METHOD:PUBLISH{{ $data := index .Site.Data .Sites.Default.Language.Lang }}{{ $eventsData := $data }}{{ with $eventsData }}{{ range (sort .events "year" "desc") }}{{ range (sort .events "startDate" "desc") }} +METHOD:PUBLISH{{ $data := index .Site.Data .Sites.First.Language.Lang }}{{ $eventsData := $data }}{{ with $eventsData }}{{ range (sort .events "year" "desc") }}{{ range (sort .events "startDate" "desc") }} BEGIN:VEVENT UID:{{ .id }} SUMMARY:{{ .name }} diff --git a/website/themes/beastie/layouts/events/single.html b/website/themes/beastie/layouts/events/single.html index 542de502f2..dc702fe43a 100644 --- a/website/themes/beastie/layouts/events/single.html +++ b/website/themes/beastie/layouts/events/single.html @@ -23,7 +23,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $eventsData = $data }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $eventsData = $dataDefaultLanguage }} {{ end }} diff --git a/website/themes/beastie/layouts/news/list.html b/website/themes/beastie/layouts/news/list.html index 3f86c505d4..a09ce25d88 100644 --- a/website/themes/beastie/layouts/news/list.html +++ b/website/themes/beastie/layouts/news/list.html @@ -25,7 +25,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $newsData = $data.news }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $newsData = $dataDefaultLanguage.news }} {{ end }} diff --git a/website/themes/beastie/layouts/news/single.html b/website/themes/beastie/layouts/news/single.html index 3f86c505d4..a09ce25d88 100644 --- a/website/themes/beastie/layouts/news/single.html +++ b/website/themes/beastie/layouts/news/single.html @@ -25,7 +25,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $newsData = $data.news }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $newsData = $dataDefaultLanguage.news }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/commercial-consulting.html b/website/themes/beastie/layouts/partials/commercial-consulting.html index 5d959a5ef2..8e62933fb9 100644 --- a/website/themes/beastie/layouts/partials/commercial-consulting.html +++ b/website/themes/beastie/layouts/partials/commercial-consulting.html @@ -5,7 +5,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $consultingVendorsData = $data.vendors }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $consultingVendorsData = $dataDefaultLanguage.vendors }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/commercial-hardware.html b/website/themes/beastie/layouts/partials/commercial-hardware.html index 3026998b59..0b8f5b7bbf 100644 --- a/website/themes/beastie/layouts/partials/commercial-hardware.html +++ b/website/themes/beastie/layouts/partials/commercial-hardware.html @@ -5,7 +5,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $hardwareVendorsData = $data.vendors }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $hardwareVendorsData = $dataDefaultLanguage.vendors }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/commercial-isp.html b/website/themes/beastie/layouts/partials/commercial-isp.html index 8aaaf074af..68d0a2ae86 100644 --- a/website/themes/beastie/layouts/partials/commercial-isp.html +++ b/website/themes/beastie/layouts/partials/commercial-isp.html @@ -5,7 +5,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $ispVendorsData = $data.vendors }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $ispVendorsData = $dataDefaultLanguage.vendors }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/commercial-misc.html b/website/themes/beastie/layouts/partials/commercial-misc.html index 32423ad919..0fc6931a9a 100644 --- a/website/themes/beastie/layouts/partials/commercial-misc.html +++ b/website/themes/beastie/layouts/partials/commercial-misc.html @@ -5,7 +5,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $miscVendorsData = $data.vendors }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $miscVendorsData = $dataDefaultLanguage.vendors }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/commercial-software.html b/website/themes/beastie/layouts/partials/commercial-software.html index c596ba87d8..f7b3807a94 100644 --- a/website/themes/beastie/layouts/partials/commercial-software.html +++ b/website/themes/beastie/layouts/partials/commercial-software.html @@ -5,7 +5,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $softwareVendorsData = $data.vendors }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $softwareVendorsData = $dataDefaultLanguage.vendors }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/events.html b/website/themes/beastie/layouts/partials/events.html index 79148da802..1d55d0d6d3 100644 --- a/website/themes/beastie/layouts/partials/events.html +++ b/website/themes/beastie/layouts/partials/events.html @@ -5,7 +5,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $eventsData = $data }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $eventsData = $dataDefaultLanguage }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/news.html b/website/themes/beastie/layouts/partials/news.html index ce1052fe45..23b22fbaa7 100644 --- a/website/themes/beastie/layouts/partials/news.html +++ b/website/themes/beastie/layouts/partials/news.html @@ -5,7 +5,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $newsData = $data.news }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $newsData = $dataDefaultLanguage.news }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/press.html b/website/themes/beastie/layouts/partials/press.html index d3bed55a6f..3b3b4a79a2 100644 --- a/website/themes/beastie/layouts/partials/press.html +++ b/website/themes/beastie/layouts/partials/press.html @@ -7,7 +7,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $pressData = $data.press }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $pressData = $dataDefaultLanguage.press }} {{ end }} diff --git a/website/themes/beastie/layouts/press/list.html b/website/themes/beastie/layouts/press/list.html index d1d5772610..ee9fc61001 100644 --- a/website/themes/beastie/layouts/press/list.html +++ b/website/themes/beastie/layouts/press/list.html @@ -24,7 +24,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $pressData = $data.press }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $pressData = $dataDefaultLanguage.press }} {{ end }} diff --git a/website/themes/beastie/layouts/press/single.html b/website/themes/beastie/layouts/press/single.html index d1d5772610..ee9fc61001 100644 --- a/website/themes/beastie/layouts/press/single.html +++ b/website/themes/beastie/layouts/press/single.html @@ -24,7 +24,7 @@ {{ $data := index .Site.Data $.Language.Lang }} {{ $pressData = $data.press }} {{ else }} - {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.First.Language.Lang }} {{ $pressData = $dataDefaultLanguage.press }} {{ end }} diff --git a/website/themes/beastie/layouts/shortcodes/get-event-last-year-info.html b/website/themes/beastie/layouts/shortcodes/get-event-last-year-info.html index 14d2e8683a..16e4092a24 100644 --- a/website/themes/beastie/layouts/shortcodes/get-event-last-year-info.html +++ b/website/themes/beastie/layouts/shortcodes/get-event-last-year-info.html @@ -1,6 +1,6 @@ {{ $param := (.Get 0) }} -{{ $eventsData := index .Page.Site.Data .Page.Sites.Default.Language.Lang }} +{{ $eventsData := index .Page.Site.Data .Page.Sites.First.Language.Lang }} {{ $lastYear := sub (int (now.Format "2006")) 1 }} diff --git a/website/themes/beastie/layouts/shortcodes/get-usergroups-info.html b/website/themes/beastie/layouts/shortcodes/get-usergroups-info.html index b041e9b1c0..9a09c475b0 100644 --- a/website/themes/beastie/layouts/shortcodes/get-usergroups-info.html +++ b/website/themes/beastie/layouts/shortcodes/get-usergroups-info.html @@ -1,6 +1,6 @@ {{ $param := (.Get 0) }} -{{ $usergroupsData := index .Page.Site.Data .Page.Sites.Default.Language.Lang }} +{{ $usergroupsData := index .Page.Site.Data .Page.Sites.First.Language.Lang }} {{ $usergroupsCodes := slice }}