diff --git a/deployment-script.sh b/deployment-script.sh index 042ae97..be3a5fa 100755 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -2,9 +2,10 @@ cp html_resources/index_template.html index.html function genlinks { - for FILE in $(find . -maxdepth 1 -type f -name "*-*.html" | sort); do + for FILE in $(find . -maxdepth 1 -type f -name "??-*.html" | sort); do echo -ne "
  • \n" - grep -oe ".*" $FILE | sed -e 's/ / /;s| ||' + echo -n " $(sed -e 's/-.*//' <<< "$FILE") ' + grep -oe ".*" $FILE | sed -e 's/ //;s| ||' echo "
  • " done } diff --git a/html_resources/style.css b/html_resources/style.css index 5103d3f..a77198e 100644 --- a/html_resources/style.css +++ b/html_resources/style.css @@ -149,6 +149,18 @@ span.quote.thought::after { position: relative; bottom: 0.15em; } +span.chapter::before { + content: "\25b9"; + font-size: 0.75em; + position: relative; + bottom: 0.15em; +} +span.chapter::after { + content: "\25c3"; + font-size: 0.75em; + position: relative; + bottom: 0.15em; +} button.back { font-size: 2.8em;