summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-08-12 14:20:31 -0500
committerCase Duckworth2022-08-12 14:20:43 -0500
commitd7778114af925b3df2f07b9a00b32896c085b77e (patch)
treef1d6f532d8830d567eb5399d8d9657ca41ba2d78
parentBy default, put static files at root (diff)
downloadht-d7778114af925b3df2f07b9a00b32896c085b77e.tar.gz
ht-d7778114af925b3df2f07b9a00b32896c085b77e.zip
Use relative links in index.html
-rwxr-xr-xht2
1 files changed, 1 insertions, 1 deletions
diff --git a/ht b/ht index 58d6258..a4f0e66 100755 --- a/ht +++ b/ht
@@ -85,7 +85,7 @@ configure() {
85 INDEXEACH="$HT_INDEX_ITEM_FORMAT" 85 INDEXEACH="$HT_INDEX_ITEM_FORMAT"
86 else 86 else
87 # shellcheck disable=2016 87 # shellcheck disable=2016
88 INDEXEACH='<li><a href=\"$BASEURL/${file}/\">${title}</a></li>' 88 INDEXEACH='<li><a href=\"/${file}/\">${title}</a></li>'
89 fi 89 fi
90 90
91 FEEDNAME="${HT_FEED_NAME:-feed.xml}" 91 FEEDNAME="${HT_FEED_NAME:-feed.xml}"