Last active
March 17, 2022 18:38
-
-
Save skempken/5b52fed443b923e42e016f1aeb12bc98 to your computer and use it in GitHub Desktop.
Supplemental UI partials to have Antora Default UI show author bylines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# snippet | |
ui: | |
supplemental_files: | |
# adds byline | |
- path: partials/article.hbs | |
contents: ./supplemental-ui/partials/article.hbs | |
- path: partials/byline.hbs | |
contents: ./supplemental-ui/partials/byline.hbs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example on how to produce a semantic HTML5 byline section with Antora's Default UI based on an author line in the AsciiDoc document:
Based on the suggested workaround in https://gitlab.com/antora/antora/-/issues/355
The above files would need to be put in
partials/
and added as supplement to the default ui. Seeantora-playbook.yml
-Snippet.