diff options
| author | Paul Buetow <paul@buetow.org> | 2024-04-13 00:14:32 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-04-13 00:14:32 +0300 |
| commit | f0eb5385e29f6cafa41a47d39f067a19ea32da37 (patch) | |
| tree | 70a39ef8a225afdd6e90ad1df3802af27351bc0c /lib | |
| parent | 68d1ccf6095024847f003e282f0f6036c5255e54 (diff) | |
new css style. add heading font.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/html.source.sh | 9 |
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 |
