zs/default/.zs/editthispage
2024-12-25 22:43:00 +10:00

10 lines
248 B
Bash
Executable File

#!/bin/sh
GITEA_BASE_URL="https://git.mills.io"
REPO="yarnsocial/twtxt.dev"
BRANCH="main"
url="${GITEA_BASE_URL}/${REPO}/_edit/${BRANCH}/${ZS_FILE}"
printf "<a href=\"%s\" rel=\"nofollow\" target=\"_blank\">✍️ Edit Page on Gitea</a>" "$url"