Fix editthispage links

This commit is contained in:
James Mills 2023-04-01 12:28:36 +10:00
parent aae29d4bb0
commit cfb211595e
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
GITEA_BASE_URL="https://git.mills.io/prologic/zs-starter-template/_edit/main/index.md"
GITEA_BASE_URL="https://git.mills.io/prologic/zs-starter-template/_edit/main"
url="${GITEA_BASE_URL}/${ZS_FILE}"
printf "<a href=\"%s\">✍️ Edit this page on Gitea.</a>" "$url"
printf "<a href=\"%s\" rel=\"nofollow\" target=\"_blank\">✍️ Edit this page on Gitea.</a>" "$url"