From a8bfa8de77ef85215ffb829c85e523a1b775f700 Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Sat, 17 Feb 2024 16:14:45 +0200 Subject: [PATCH] Add support for setting a directory to publish to --- config.sh | 1 + noter.sh | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 5229d9c..9c3f777 100644 --- a/config.sh +++ b/config.sh @@ -6,6 +6,7 @@ lastupdated="true" site_title="koutsie's telenotes" site_description="thoughts about mainly computers... maybe recipes and cats too?" site_link="https://k0.tel/" +publish_dir="." # Put CSS between <&2 + exit +fi + + # Create HTML file -output_file="index.html" +output_file="$publish_dir/index.html" echo "