HomeFreeBSD

Add Hugo's lang shortcode

Description

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

Details

Provenance
dbaioAuthored on Jun 19 2021, 6:56 PM
Reviewer
carlavilla
Differential Revision
D30823: Add Hugo's lang shortcode
Parents
R9:130b0430d427: Document __FreeBSD_version 1400024 (LinuxKPI changes).
Branches
Unknown
Tags
Unknown
Reverted By
R9:8e22e76d94dc: Revert "Add Hugo's lang shortcode"