From owner-dev-commits-doc-all@freebsd.org Tue Jan 26 12:06:36 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F9374EC05C for ; Tue, 26 Jan 2021 12:06:36 +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 4DQ57J1Lgtz3jf6; Tue, 26 Jan 2021 12:06:36 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 2138F1090; Tue, 26 Jan 2021 12:06:36 +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 10QC6aFm069497; Tue, 26 Jan 2021 12:06:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 10QC6awJ069496; Tue, 26 Jan 2021 12:06:36 GMT (envelope-from git) Date: Tue, 26 Jan 2021 12:06:36 GMT Message-Id: <202101261206.10QC6awJ069496@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: 4dba695e5d - main - Use Hugo's relLangURL filter to fix relative URLs in list shortdocs 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: 4dba695e5d4bca99d1d409c867aa85e2953e7aa2 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 12:06:36 -0000 The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=4dba695e5d4bca99d1d409c867aa85e2953e7aa2 commit 4dba695e5d4bca99d1d409c867aa85e2953e7aa2 Author: Sergio Carlavilla Delgado AuthorDate: 2021-01-26 12:02:54 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2021-01-26 12:02:54 +0000 Use Hugo's relLangURL filter to fix relative URLs in list shortdocs Submitted by: allanjude@ PR: 253013 Review: https://reviews.freebsd.org/D28344 --- .../themes/beastie/layouts/shortcodes/list-articles-directories.html | 2 +- .../themes/beastie/layouts/shortcodes/list-books-directories.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/themes/beastie/layouts/shortcodes/list-articles-directories.html b/documentation/themes/beastie/layouts/shortcodes/list-articles-directories.html index 3d9244153a..c772b38e0d 100644 --- a/documentation/themes/beastie/layouts/shortcodes/list-articles-directories.html +++ b/documentation/themes/beastie/layouts/shortcodes/list-articles-directories.html @@ -14,7 +14,7 @@ {{ if in .path "_index.adoc" }} {{ $articlePath := replaceRE "/_index.adoc" "" .path }} {{ $articleName := replaceRE "articles/" "" $articlePath }} -
  • {{ $articleName }}
  • +
  • {{ $articleName }}
  • {{ end }} {{ end }} diff --git a/documentation/themes/beastie/layouts/shortcodes/list-books-directories.html b/documentation/themes/beastie/layouts/shortcodes/list-books-directories.html index dbdbd3a2ea..d1eda384d5 100644 --- a/documentation/themes/beastie/layouts/shortcodes/list-books-directories.html +++ b/documentation/themes/beastie/layouts/shortcodes/list-books-directories.html @@ -14,7 +14,7 @@ {{ if in .path "_index.adoc" }} {{ $bookPath := replaceRE "/_index.adoc" "" .path }} {{ $bookName := replaceRE "books/" "" $bookPath }} -
  • {{ $bookName }}
  • +
  • {{ $bookName }}
  • {{ end }} {{ end }}