From d90d07fa3938c944fe8897e7ce1d995bd660573d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 30 Dec 2020 11:30:59 +0100 Subject: Better templates structure, better script config --- scripts/build_content.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'scripts/build_content.sh') diff --git a/scripts/build_content.sh b/scripts/build_content.sh index 78857b5..e57cfed 100755 --- a/scripts/build_content.sh +++ b/scripts/build_content.sh @@ -1,12 +1,10 @@ #!/bin/bash -SITE="https://volpeon.ink/" +source "site.defaults.conf" -CONTENT_DIR="content/" -FILTERS_DIR="filters/" -METADATA_DIR="metadata/" -TEMPLATES_DIR="templates/" -OUTPUT_DIR="output/" +if [ -f "site.conf" ]; then + source "site.conf" +fi get_filters() { filters_args="" -- cgit v1.2.3-70-g09d2