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/zh-tw/books/developers-handbook/introduction/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/zh-tw/books/developers-handbook/introduction/chapter.adoc')
-rw-r--r-- | documentation/content/zh-tw/books/developers-handbook/introduction/chapter.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/content/zh-tw/books/developers-handbook/introduction/chapter.adoc b/documentation/content/zh-tw/books/developers-handbook/introduction/chapter.adoc index b81f6a6d52..ff82d6d00f 100644 --- a/documentation/content/zh-tw/books/developers-handbook/introduction/chapter.adoc +++ b/documentation/content/zh-tw/books/developers-handbook/introduction/chapter.adoc @@ -32,8 +32,8 @@ next: books/developers-handbook/tools include::shared/mirrors.adoc[] include::shared/authors.adoc[] include::shared/releases.adoc[] -include::shared/zh-tw/mailing-lists.adoc[] -include::shared/zh-tw/urls.adoc[] +include::shared/{{% lang %}}/mailing-lists.adoc[] +include::shared/{{% lang %}}/urls.adoc[] toc::[] |