X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=tools.sh;h=2e98d674d764295b3e338fd3ca7a59c8c42ec0d9;hb=a88a2e833916c59ea6e99e9588543a58f02b9efe;hp=de055fe808049e2afbc3b925a1f19f1f06413d5f;hpb=ac6c98bd35d32425608eaafe1cbf2efcd38a478a;p=shellwiki diff --git a/tools.sh b/tools.sh index de055fe..2e98d67 100755 --- a/tools.sh +++ b/tools.sh @@ -16,6 +16,11 @@ mdfile(){ # back to default page from installation local page="$(PATH "$1")" + # IMPORTANT: A Copy of this function exists + # in `handlers/10_translations.sh` + # Look into it now! + # Keep it synchronized, when changing anything + if [ -f "$_DATA/pages/$page/#page.md" ]; then printf %s\\n "$_DATA/pages/$page/#page.md" return 0