Skip to content

Commit 8bd87a3

Browse files
Merge pull request #640 from brodjieski/dev_2.0
SCAP, Compliance Script and Theme updates
2 parents 9bfaf6a + 9c6a20b commit 8bd87a3

File tree

12 files changed

+2826
-106
lines changed

12 files changed

+2826
-106
lines changed

config/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defaults:
2121
shell_template_dir: "config/default/templates/shell_scripts"
2222
sections_dir: "config/default/sections"
2323
templates_dir: "config/default/templates"
24+
themes_dir: "config/default/themes"
2425

2526
custom:
2627
adoc_templates_dir: "config/custom/templates/asciidoctor"

config/default/templates/documents/adoc/header.adoc.jinja

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:doctype: book
22
:stylesdir: {{ styles_dir }}
33
:imagesdir: {{ images_dir }}
4-
:stylesheet: asciidoctor.css
4+
:stylesheet: {{ html_css }}
55
:experimental:
66
:reproducible:
77
:icons: font
@@ -18,6 +18,9 @@ endif::[]
1818
:toclevels: 4
1919
:xrefstyle: full
2020
:source-highlighter: rouge
21+
{% if "dark" in html_css %}
22+
:rouge-style: base16.dark
23+
{% endif +%}
2124
:nofooter:
2225
{% if "800-171" in baseline.title | upper or show_all_tags %}:show_171:{% else %}:show_171!:{% endif +%}
2326
{% if "STIG" in baseline.title | upper or show_all_tags %}:show_STIG:{% else %}:show_STIG!:{% endif +%}

0 commit comments

Comments
 (0)