summaryrefslogtreecommitdiffstats
path: root/scripts/build_content.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build_content.sh')
-rwxr-xr-xscripts/build_content.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/build_content.sh b/scripts/build_content.sh
index 0698ee0..ca75120 100755
--- a/scripts/build_content.sh
+++ b/scripts/build_content.sh
@@ -1,7 +1,5 @@
1#!/bin/bash 1#!/bin/bash
2 2
3SITE_TITLE="Volpeon's Den"
4
5target () { 3target () {
6 if [ "${1#*.}" = "md" ]; then 4 if [ "${1#*.}" = "md" ]; then
7 echo "output/$(echo "${1%.md}.html" | cut -sd / -f 2-)" 5 echo "output/$(echo "${1%.md}.html" | cut -sd / -f 2-)"
@@ -22,7 +20,7 @@ handle () {
22 -t html5 \ 20 -t html5 \
23 --template templates/base.html \ 21 --template templates/base.html \
24 -o "$TARGET" \ 22 -o "$TARGET" \
25 --metadata sitetitle="$SITE_TITLE" 23 --metadata-file metadata/metadata.json
26 else 24 else
27 echo "[COPY ] $1 -> $TARGET" 25 echo "[COPY ] $1 -> $TARGET"
28 26