summaryrefslogtreecommitdiff
path: root/gen.sh
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2018-01-09 19:36:08 -0500
committerknolax <1339802534.kk@gmail.com>2018-01-09 19:36:08 -0500
commitce9beca13e49cdbb66056e43d890a3dd1178bc32 (patch)
treee0983354dc7a2239684769010a537137f4708a0b /gen.sh
parent17c936aa6bca8321017e7b426afcf82694a5ad4b (diff)
changed the links in index to not include the .html as github can now handle urls without the .html
Diffstat (limited to 'gen.sh')
-rwxr-xr-xgen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen.sh b/gen.sh
index dda13c6..82d8763 100755
--- a/gen.sh
+++ b/gen.sh
@@ -39,5 +39,5 @@ for page in $pages; do
rm $page.tmp
#adds to the index
- echo "<a href=\"$page\">[$title] $date</a>" >> index
+ echo "<a href=\"http://hairydiode.xyz/$(echo $page| sed 's/.html//')\">[$title] $date</a>" >> index
done