diff options
author | Danilo G. Baio <dbaio@FreeBSD.org> | 2021-06-19 18:56:16 +0000 |
---|---|---|
committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2021-06-19 19:09:00 +0000 |
commit | 3462d12db6ebf303064db168a2333374344f369a (patch) | |
tree | 0efa6987a5afdf632a5636d2163db36acd4b6ca7 /documentation/content/pt-br/books/porters-handbook/plist/chapter.adoc | |
parent | 130b0430d42780a99b76f17f73ca6b46266cffd3 (diff) | |
download | doc-3462d12db6ebf303064db168a2333374344f369a.tar.gz doc-3462d12db6ebf303064db168a2333374344f369a.zip |
Add Hugo's lang shortcode
This is a prerequisite for the translation workflow through .po files
and Weblate.
The asciidoctor include with the shortcode variable will help because
won't be needed to change the includes manually after converting the
translation (.po file) back to .adoc.
It will help other areas like, language attributes, which today is fixed
in every document.
The use of shortcode was suggested by jmooring@ from Hugo's project on
Github.
Reviewed by: carlavilla
Differential Revision: https://reviews.freebsd.org/D30823
Diffstat (limited to 'documentation/content/pt-br/books/porters-handbook/plist/chapter.adoc')
-rw-r--r-- | documentation/content/pt-br/books/porters-handbook/plist/chapter.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/content/pt-br/books/porters-handbook/plist/chapter.adoc b/documentation/content/pt-br/books/porters-handbook/plist/chapter.adoc index 081b0a8e33..e347f01c96 100644 --- a/documentation/content/pt-br/books/porters-handbook/plist/chapter.adoc +++ b/documentation/content/pt-br/books/porters-handbook/plist/chapter.adoc @@ -26,9 +26,9 @@ next: books/porters-handbook/pkg-files include::shared/mirrors.adoc[] include::shared/authors.adoc[] include::shared/releases.adoc[] -include::shared/pt-br/mailing-lists.adoc[] -include::shared/pt-br/teams.adoc[] -include::shared/pt-br/urls.adoc[] +include::shared/{{% lang %}}/mailing-lists.adoc[] +include::shared/{{% lang %}}/teams.adoc[] +include::shared/{{% lang %}}/urls.adoc[] toc::[] |