From nobody Fri Mar 25 20:45:32 2022 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 BF3171A42C8D for ; Fri, 25 Mar 2022 20:45:32 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KQDcr51wWz4qSP; Fri, 25 Mar 2022 20:45:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648241132; 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=PRQhoJWtoDPmRIUtt3Y+q8WwQonMZG3vrsgbe0A4uZI=; b=p5L24WdO4YmTDqFZLftcqKH1QhFZm56yMotSWofZssvCCtfCIJblQU/aVV3zbLJKIiBnZ/ w6/qBF3LMeDWdRXDfzEnBaBBIu9pAztw6dM0dSKTxZY0LTyh9QhzsYi8A98lnNnQnjzwKb i1lXWToTR+ItPF1AKTSYxxqaU+X7ftx/nO1dNy1vTsNay8N74cob/LSCRc2uWth6AX4XRa tX/y6LfaKAv/d6LOJnJxShcVJHIMrJLAuL5IY+FCjzAsnF398MpvesKah08tUTjDgrZ56E g8e09nlPVGQfGw0ujG3dLIKSSUKulza33rfSF2Ibk8VaeJJOEI4cIBUpcD8BOA== 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 8CE0213A29; Fri, 25 Mar 2022 20:45:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22PKjWMD001503; Fri, 25 Mar 2022 20:45:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PKjWIq001502; Fri, 25 Mar 2022 20:45:32 GMT (envelope-from git) Date: Fri, 25 Mar 2022 20:45:32 GMT Message-Id: <202203252045.22PKjWIq001502@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: 352543bff3 - main - Add last modified to documentation and website 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: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: carlavilla X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 352543bff308aed820f8fcf85c4dc3bde7a3f614 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648241132; 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=PRQhoJWtoDPmRIUtt3Y+q8WwQonMZG3vrsgbe0A4uZI=; b=knUddkxFascOhDpGwiKTOs7nbCFe/Ykg5xu1Qxc0bC3WHnI3x0orUhfERXjFp6is40zjBb CRoRKxcAEqqctF7lr1Eo8gbNHpcz2bywYSaZCWX+tDSSD0DyKEIC/+lxRm8UOt9Q/y//lP xG8/PHzdHQ2d7VV3Vbg1t3VFaallK73VJA76aEl906z4EA4gA54n7FifBHf41Lyi3alw5T quYc+vVZ7FCcyeLZrFutLJphxMTTLY2ERyjTTGPEv/hcmyAMucc4LnB56ol1+FYKzYB6MC kajMyp5H6MbcrQFOtBv5dZkDQHUtyVSnjl94HqItBGRQFbszN7BRo1H5rgmpVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648241132; a=rsa-sha256; cv=none; b=NTI5h/rpQLqqj06IOkw8Y4FG/MkZJkwSIY5ZVhR0dvHwWZEZWA1GJkPPTiK5BAfZJ4Eqsx acFddJFGiL8GYmhuneLRgzrR+pMpLEO+05Y4EJriLsGPvuqquu2d0MxrQrYV6qLi0fohSl Ai2FetNL2dPdH8de06BiLyRSBJLSTSZDTbBXVwC1H3DejGhVlFfKzqsbg0qGeFtttycvSh Tt+5rr9NHCMvpSQuIzW1enWEmtTvVZKyTuC1OenJtQIqIlWG22NRoFXcIWQeViLczwpNY0 Lq9CGEG/qPhLYetJ7JMSF+MVnXNkACvKrfI5OFxpO0iIZmzuV+O83jR2I/l97Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=352543bff308aed820f8fcf85c4dc3bde7a3f614 commit 352543bff308aed820f8fcf85c4dc3bde7a3f614 Author: Sergio Carlavilla Delgado AuthorDate: 2022-03-25 20:44:24 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2022-03-25 20:45:18 +0000 Add last modified to documentation and website Add the last modified information to the articles and books in the Documentation Portal and in the website. --- documentation/config/_default/config.toml | 1 + documentation/themes/beastie/i18n/en.toml | 6 ++++++ .../themes/beastie/layouts/articles/list.html | 22 ++++++---------------- .../themes/beastie/layouts/articles/single.html | 22 ++++++---------------- .../themes/beastie/layouts/books/list.html | 7 ++++++- .../themes/beastie/layouts/books/single.html | 7 ++++++- website/config/_default/config.toml | 2 +- website/themes/beastie/i18n/en.toml | 6 ++++++ website/themes/beastie/layouts/_default/list.html | 6 ++++++ .../themes/beastie/layouts/_default/single.html | 6 ++++++ .../themes/beastie/layouts/commercial/list.html | 6 ++++++ .../themes/beastie/layouts/commercial/single.html | 6 ++++++ website/themes/beastie/layouts/events/list.html | 6 ++++++ website/themes/beastie/layouts/events/single.html | 6 ++++++ website/themes/beastie/layouts/news/list.html | 6 ++++++ website/themes/beastie/layouts/news/single.html | 6 ++++++ website/themes/beastie/layouts/press/list.html | 6 ++++++ website/themes/beastie/layouts/press/single.html | 6 ++++++ website/themes/beastie/layouts/security/list.html | 6 ++++++ .../themes/beastie/layouts/security/single.html | 6 ++++++ .../themes/beastie/layouts/usergroups/section.html | 7 ++++++- 21 files changed, 116 insertions(+), 36 deletions(-) diff --git a/documentation/config/_default/config.toml b/documentation/config/_default/config.toml index 8667900012..087c0f5576 100644 --- a/documentation/config/_default/config.toml +++ b/documentation/config/_default/config.toml @@ -11,6 +11,7 @@ disableKinds = [ "taxonomy", "taxonomyTerm" ] authors = [ "carlavilla@FreeBSD.org" ] ignoreFiles = [ "chapter.adoc$", "contrib-386bsd.adoc$", "contrib-additional.adoc$", "contrib-committers.adoc$", "contrib-corealumni.adoc$", "contrib-develalumni.adoc$", "contrib-develinmemoriam.adoc$", "contrib-portmgralumni.adoc$", "\\.po$" ] enableRobotsTXT = true +enableGitInfo = true [params] websiteURL = "https://www.FreeBSD.org" diff --git a/documentation/themes/beastie/i18n/en.toml b/documentation/themes/beastie/i18n/en.toml index 64c466ad01..5cb974ed89 100644 --- a/documentation/themes/beastie/i18n/en.toml +++ b/documentation/themes/beastie/i18n/en.toml @@ -43,6 +43,12 @@ other = "Articles" [choose-language] other = "Choose language" +[last-modified] +other = "Last modified on" + +[by] +other = "by" + # --------------------------------------------------- # Header # --------------------------------------------------- diff --git a/documentation/themes/beastie/layouts/articles/list.html b/documentation/themes/beastie/layouts/articles/list.html index 8719a9cc87..e03ae61918 100644 --- a/documentation/themes/beastie/layouts/articles/list.html +++ b/documentation/themes/beastie/layouts/articles/list.html @@ -5,16 +5,6 @@ {{ if .Params.subtitle }}

{{ .Params.subtitle }}

{{ end }} -
- {{ $releaseInfo := split .Params.releaseinfo " " }} - - {{if gt (len $releaseInfo) 3}} - {{ i18n "revision" }}: - - {{ index $releaseInfo 2 }} - - {{ end }} -
{{ if .Params.copyright }}