Chapter 15. Backend Attributes

Name Description

navinfo, navinfo1, navinfo2

These three attributes control which navigation information files will be included in the output file:

navinfo
Include <filename>-navinfo.html
navinfo1
Include navinfo.html
navinfo2
Include navinfo.html and <filename>-navinfo.html

Where <filename> is the file name (without extension) of the AsciiDoc input file.

The following example will include a navinfo.html and mydoc-navinfo.html navinfo files in the HTML output file:

$ asciidoc -b bootstrap -a navinfo2 mydoc.txt

jumboinfo, jumboinfo1, jumboinfo2

These three attributes control which jumbotron information files will be included in the output file:

jumboinfo
Include <filename>-jumboinfo.html
jumboinfo1
Include jumboinfo.html
jumboinfo2
Include jumboinfo.html and <filename>-jumboinfo.html

Where <filename> is the file name (without extension) of the AsciiDoc input file.

The following example will include a jumboinfo.html and mydoc-jumboinfo.html jumboinfo files in the HTML output file:

$ asciidoc -b bootstrap -a jumboinfo2 mydoc.txt

footer

This attribute control which footer informations will be included in the output file:

If not defined, then it will be the default footer with the version and last updated informations.

footer
Include footer.html

The following example will include the footer.html file in the HTML output file:

$ asciidoc -b bootstrap -a footer mydoc.txt

totop

This attribute control which back to top system you want to include in the output file.

when attribute unset
Include a Back to top standard html href link
when attribute set
Used the UItoTop jQuery plugin.

The following example will include a dynamic clickable area in the HTML output file:

$ asciidoc -b bootstrap -a totop mydoc.txt

themeswitcher

This attribute allow to used a Bootstrap Theme Switcher with the jQuery plugin.

brandver

This attribute control whether you want to include a dynamic versions list in the output file. A versions.html file must exists.

The following example will not include a static versions list, identified by the navinfo.html, in the HTML output file (default behavior):

$ asciidoc -b bootstrap -a brandver! mydoc.txt