-
Notifications
You must be signed in to change notification settings - Fork 1
Customize
Lukas Deutz edited this page Apr 2, 2020
·
2 revisions
In order to include a custom logo, simply replace the file content/images/logo.png.
You can either change the CSS files directly,
or use the SASS/SCSS pipeline in style/.
| File | Usage |
|---|---|
main.css |
General styling |
font-awesome.css |
Font Awesome icons |
coderay-asciidoctor.css |
Source code highlighting |
By default, Font Awesome is loaded via CDN. This template serves FontAwesome with the other stylesheets and fonts.
Steps to disable loading via CDN:
- add
font-awesome.cssto thecss/folder - the Font Awesome font files to
fonts/ - add the following to your
index.adocbelow:icons: font:
:!iconfont-remote:
:iconfont-cdn: css/font-awesome.css
:!webfonts:
Remove these three lines to switch back to the Asciidoctor default and load FontAwesome via CDN again.
Please note that the Wirecard font DINWebPro is licensed Wirecard CEE GmbH and may not be used for other projects unless a license is purchased. For the monospace font family, the template default is _Ubuntu Mono**.
This template bundles a variety of Javascript solutions.
-
jquery: Version 3.4.1 -
lunr.js: The toolchain creates a lunr search index andlunr.jsthe library to use the search index -
swup.min.js: Page switch (exchange content without navigating to a new page)
-
navigation.js: Table of Content navigation -
sample-tabs.js: Tab views for XML, JSON and NVP samples of the same request -
search.js: Lunr frontend integration
Injecting custom HTML is done via three HTML templates:
-
docinfo.html: HTML header code -
docinfo-search.html: HTML Table of Content, Search overlay and Logo stubs -
docinfo-footer.html: HTML footer code