From 6e5c73a6f4a5504c959817a799e4a10bf7bb1e31 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 10 Aug 2022 23:44:22 -0500 Subject: By default, put static files at root --- ht | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ht b/ht index 39f86d0..58d6258 100755 --- a/ht +++ b/ht @@ -78,7 +78,7 @@ configure() { FEED_TEMPLATE="${HT_FEED_TEMPLATE:-./feed.tmpl.xml}" ALLNEW=false STATICD="${HT_STATIC_DIR:-./static}" - STATICOUT="${HT_STATIC_OUTPUT_DIR:-${OUTD}/static}" + STATICOUT="${HT_STATIC_OUTPUT_DIR:-${OUTD}}" INDEXNAME="${HT_INDEX_NAME:-index.html}" if [ -n "$HT_INDEX_ITEM_FORMAT" ]; then @@ -125,7 +125,7 @@ configure() { esac done - STATICOUT="${HT_STATIC_OUTPUT_DIR:-${OUTD}/static}" + STATICOUT="${HT_STATIC_OUTPUT_DIR:-${OUTD}}" INDEX="$WORKD/index.txt" } -- cgit 1.4.1-21-gabe81