summaryrefslogtreecommitdiff
path: root/lib/html.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-04-13 00:14:32 +0300
committerPaul Buetow <paul@buetow.org>2024-04-13 00:14:32 +0300
commitf0eb5385e29f6cafa41a47d39f067a19ea32da37 (patch)
tree70a39ef8a225afdd6e90ad1df3802af27351bc0c /lib/html.source.sh
parent68d1ccf6095024847f003e282f0f6036c5255e54 (diff)
new css style. add heading font.
Diffstat (limited to 'lib/html.source.sh')
-rw-r--r--lib/html.source.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/html.source.sh b/lib/html.source.sh
index 6c5fd36..8f4da2f 100644
--- a/lib/html.source.sh
+++ b/lib/html.source.sh
@@ -100,12 +100,21 @@ html::add_extras () {
if [ -f "$HTML_WEBFONT_TEXT" ]; then
cp "$HTML_WEBFONT_TEXT" "$html_base_dir/text.ttf"
fi
+
+ if [ -f "$HTML_WEBFONT_HEADING" ]; then
+ cp "$HTML_WEBFONT_HEADING" "$html_base_dir/heading.ttf"
+ elif [ -f "$HTML_WEBFONT_TEXT" ]; then
+ cp "$HTML_WEBFONT_TEXT" "$html_base_dir/heading.ttf"
+ fi
+
if [ -f "$HTML_WEBFONT_CODE" ]; then
cp "$HTML_WEBFONT_CODE" "$html_base_dir/code.ttf"
fi
+
if [ -f "$HTML_WEBFONT_HANDNOTES" ]; then
cp "$HTML_WEBFONT_HANDNOTES" "$html_base_dir/handnotes.ttf"
fi
+
if [ -f "$HTML_WEBFONT_TYPEWRITER" ]; then
cp "$HTML_WEBFONT_TYPEWRITER" "$html_base_dir/typewriter.ttf"
fi