provide a back link

This commit is contained in:
konomo 2022-07-30 18:39:39 +00:00
parent 2b1df5ce1c
commit df9e6cd41c
2 changed files with 8 additions and 0 deletions

View File

@ -31,3 +31,4 @@ copy it into your gemini directory and make it executable of course
* 2022-03-14: add new sentences
* 2022-05-31: export pronouns to csv file; add one new sentence
* 2022-05-31: make it shown when a pronoun is preferred that is unknown, also some more comments
* 2022-07-30: provide a back link

View File

@ -86,4 +86,11 @@ for i in "${pr_sub[@]}"; do
((cnt++))
done
ownname=$(basename "$0")
if [[ "${ownname}" == "index.gmi" ]]; then # if script is in its own dir
printf "=> ../index.gmi Back" # then go to parent dir
else
printf "=> index.gmi Back" # else go to regular index
fi
exit