diff --git a/sass/main.scss b/sass/main.scss index d265a3c..413b621 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -465,3 +465,25 @@ ul.language-select > li { display: none; } } + +.footnote-definition-label::before { + content: "["; +} + +.footnote-definition-label::after { + content: "] :"; +} + +.footnote-definition-label { + // zola renders the footnotes as , + // so it looks weird on the website + // This snippet makes this particular look like normal text + top: 4px; + position: relative; + font-size: 18px; +} + +.footnote-definition-label, +.footnote-definition > p { + display: inline; +} diff --git a/scripts/prep.sh b/scripts/prep.sh index cbfcefc..c65a4c8 100755 --- a/scripts/prep.sh +++ b/scripts/prep.sh @@ -20,7 +20,7 @@ readonly file="content/letter.md" set -euo pipefail init() { - rm -rf $file || true + rm -rf content || true mkdir content touch $file diff --git a/scripts/zola.sh b/scripts/zola.sh index 7d5cd09..e48bf70 100755 --- a/scripts/zola.sh +++ b/scripts/zola.sh @@ -80,6 +80,7 @@ build() { } no_absolute_url() { + sed -i 's/https:\/\/gitea-open-letter.coding.social\/letter\//https:\/\/gitea-open-letter.coding.social\//g' $(find public -type f | grep html) sed -i 's/https:\/\/gitea-open-letter.coding.social//g' $(find public -type f | grep html) }