From nobody Mon Aug 19 16:20:13 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 4Wnd9T2zdxz5TJ5b for ; Mon, 19 Aug 2024 16:20:13 +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 4Wnd9T2NtMz4DYv; Mon, 19 Aug 2024 16:20:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724084413; 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=Jn5u46FI/3C3MzB2KDLPn0rCC0BKOaret2Le6EC2fgo=; b=q6zY21ONopjdDifEu5vKYjB8KDlljVAAInG1etXii2M5K4UQbadfULuuDNnUWaz26kgQWK utaiW/CrwMb7zj8InVKLniusEHJPAiqM9iJYKiUrw800ZV7IQwJ1b6nQgdEVFJEUCsF192 KfUqG2QpNgUsfxOP1ftrpN2ALImdhYrBrMc6l8FzuOaP5LBaM8sajquXhOtyin/VV2PNH3 Dy7W4XuN7Dn8a7nIFyeLVw+rBwAZLLf7MCb7bY0uWI+ZGTue7jAqS61IgJI15KqJYzqzef 4+rm9EHk5XEZ9RuKATowCQsWgTh2VhBqyE0K7C4KBQLWyUcKsGl6FpQeGKoBkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724084413; a=rsa-sha256; cv=none; b=QRJiGcQLhWlh1Hasw4Z1Evfb+IEjhMSr7l2VFlV1/2E/tV/XSi6MFyGlB0bXuoP7XjQDpz z5cURKx8cDGPiNevIsKFu286kuWpR/KWDa1M6yo+LtdaAxRXyv4jis4laLvLdnuRnQOhZW stD/E9a8KfliPInAxz/lJUbc1cEKJUYq1oWVFNKWfhCED9/zpn+B17qrtuL2ZGh2jp7XeV C6K3hfJ3bBH0rxag2g3qCR4fxGMD4mw5TQpmLzNCTjWHMKAZx0SdDespNnzmWJhpKonY1V +pd+kSPNvB+Dp7olF+iVoCSIV47V8ATjycxVznYn50zyG68iHHIFgQXVMwHaqw== 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=1724084413; 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=Jn5u46FI/3C3MzB2KDLPn0rCC0BKOaret2Le6EC2fgo=; b=VFm/Bkq2dakS19tXyG7xh3FXE23iiJtKUTqdXtny25GMt9ujMaMg82IUJXpA9xAAmoMaIt J5zX+JH8HuZyxImF1yv9RpfjG2dpiVoKcTCxNdEuMRhQd6FE29NYU9nheP8o2qWJPhug9r NVheQCNR2KOGygIJRsIkZw8GN11enkYJFa00jbDKVowS3taFavd9dWcQEOY2wN22o9Uakq oyw2PGYp24IPz02mBwYcVqjg6nyOPCHmFNtCYotDyt8QkDwRwtF6BICHoxCTcS6JbQhblz L9WHK8jQd4WUWoq/1dQZ3ETYgWBhop0qugCrMixDgiRC+QJMVDcyHWJDooQKfw== 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 4Wnd9T1sWHzNTS; Mon, 19 Aug 2024 16:20:13 +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 47JGKD45072485; Mon, 19 Aug 2024 16:20:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47JGKDmM072475; Mon, 19 Aug 2024 16:20:13 GMT (envelope-from git) Date: Mon, 19 Aug 2024 16:20:13 GMT Message-Id: <202408191620.47JGKDmM072475@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: 6747360110 - main - 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: 67473601100cbf8bba453d53352676d52702f1c6 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=67473601100cbf8bba453d53352676d52702f1c6 commit 67473601100cbf8bba453d53352676d52702f1c6 Author: Fernando ApesteguĂ­a AuthorDate: 2024-08-19 16:19:09 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-08-19 16:19:09 +0000 website: Replace deprecated attribute Site.First has been deprecated since hugo 0.127. --- 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 abe43c5c00..f6adf934ca 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.First.Language.Lang }}{{ $eventsData := $data }}{{ with $eventsData }}{{ range (sort .events "year" "desc") }}{{ range (sort .events "startDate" "desc") }} +METHOD:PUBLISH{{ $data := index .Site.Data .Sites.Default.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 6d729b3328..97faff7303 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} {{ $eventsData = $dataDefaultLanguage }} {{ end }} diff --git a/website/themes/beastie/layouts/events/list.ics b/website/themes/beastie/layouts/events/list.ics index abe43c5c00..f6adf934ca 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.First.Language.Lang }}{{ $eventsData := $data }}{{ with $eventsData }}{{ range (sort .events "year" "desc") }}{{ range (sort .events "startDate" "desc") }} +METHOD:PUBLISH{{ $data := index .Site.Data .Sites.Default.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 dc702fe43a..542de502f2 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} {{ $eventsData = $dataDefaultLanguage }} {{ end }} diff --git a/website/themes/beastie/layouts/news/list.html b/website/themes/beastie/layouts/news/list.html index a09ce25d88..3f86c505d4 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 a09ce25d88..3f86c505d4 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 8e62933fb9..5d959a5ef2 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 0b8f5b7bbf..3026998b59 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 68d0a2ae86..8aaaf074af 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 0fc6931a9a..32423ad919 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 f7b3807a94..c596ba87d8 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 1d55d0d6d3..79148da802 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.Language.Lang }} {{ $eventsData = $dataDefaultLanguage }} {{ end }} diff --git a/website/themes/beastie/layouts/partials/news.html b/website/themes/beastie/layouts/partials/news.html index 23b22fbaa7..ce1052fe45 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 3b3b4a79a2..d3bed55a6f 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 ee9fc61001..d1d5772610 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 ee9fc61001..d1d5772610 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.First.Language.Lang }} + {{ $dataDefaultLanguage := index .Site.Data .Sites.Default.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 16e4092a24..14d2e8683a 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.First.Language.Lang }} +{{ $eventsData := index .Page.Site.Data .Page.Sites.Default.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 9a09c475b0..b041e9b1c0 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.First.Language.Lang }} +{{ $usergroupsData := index .Page.Site.Data .Page.Sites.Default.Language.Lang }} {{ $usergroupsCodes := slice }}