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/en/books/handbook/eresources | |
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/en/books/handbook/eresources')
-rw-r--r-- | documentation/content/en/books/handbook/eresources/_index.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/content/en/books/handbook/eresources/_index.adoc b/documentation/content/en/books/handbook/eresources/_index.adoc index c86986e887..176fc3dae8 100644 --- a/documentation/content/en/books/handbook/eresources/_index.adoc +++ b/documentation/content/en/books/handbook/eresources/_index.adoc @@ -25,9 +25,9 @@ tags: ["eresources", "Websites", "Mailing Lists", "Usenet", "Newsgroups"] include::shared/mirrors.adoc[] include::shared/authors.adoc[] include::shared/releases.adoc[] -include::shared/en/mailing-lists.adoc[] -include::shared/en/teams.adoc[] -include::shared/en/urls.adoc[] +include::shared/{{% lang %}}/mailing-lists.adoc[] +include::shared/{{% lang %}}/teams.adoc[] +include::shared/{{% lang %}}/urls.adoc[] The rapid pace of FreeBSD progress makes print media impractical as a means of following the latest developments. Electronic resources are the best, if not often the only, way to stay informed of the latest advances. |