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/de/books/developers-handbook/x86/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/de/books/developers-handbook/x86/chapter.adoc')
-rw-r--r-- | documentation/content/de/books/developers-handbook/x86/chapter.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/content/de/books/developers-handbook/x86/chapter.adoc b/documentation/content/de/books/developers-handbook/x86/chapter.adoc index 0f4fef2cb8..193208e4f5 100644 --- a/documentation/content/de/books/developers-handbook/x86/chapter.adoc +++ b/documentation/content/de/books/developers-handbook/x86/chapter.adoc @@ -25,9 +25,9 @@ next: books/developers-handbook/bibliography include::shared/mirrors.adoc[] include::shared/authors.adoc[] include::shared/releases.adoc[] -include::shared/de/mailing-lists.adoc[] -include::shared/de/teams.adoc[] -include::shared/de/urls.adoc[] +include::shared/{{% lang %}}/mailing-lists.adoc[] +include::shared/{{% lang %}}/teams.adoc[] +include::shared/{{% lang %}}/urls.adoc[] toc::[] |