zs-starter-template/.zs/editthispage

10 lines
256 B
Plaintext
Raw Normal View History

#!/bin/sh
2024-10-03 18:08:28 +03:00
GITEA_BASE_URL="https://git.mills.io"
REPO="prologic/zs-starter-template"
BRANCH="main"
2024-10-03 18:08:28 +03:00
url="${GITEA_BASE_URL}/${REPO}/_edit/${BRANCH}/${ZS_FILE}"
printf "<a href=\"%s\" rel=\"nofollow\" target=\"_blank\">✍️ Edit Page on Gitea</a>" "$url"