aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-01-05 17:04:19 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-01-05 17:04:19 +0100
commita140e5fd0d7e9543392be55eca8405f37a265fd4 (patch)
tree09d4bd22f55527923d37e08e36ee558cdcfa8e53
parentbe1a57a5e1f84fe3d738207dbae220666a352089 (diff)
downloadrgoncalves.se-a140e5fd0d7e9543392be55eca8405f37a265fd4.tar.gz
bin/func: Force absolute path for index links
-rw-r--r--bin/func2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/func b/bin/func
index f637749..f8ef010 100644
--- a/bin/func
+++ b/bin/func
@@ -166,7 +166,7 @@ __generate_index_line() {
fi
cat <<-EOF
- <a href="$(__get_final_filename ${2})">
+ <a href="/$(__get_final_filename ${2})">
$(__get_value_title ${2})
</a>
EOF
remember that computers suck.