mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2026-10-07 11:11:34 -07:00
Fix editthispage
This commit is contained in:
+6
-2
@@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
url="${ZS_FILE}?edit"
|
||||
GITEA_BASE_URL="https://git.mills.io"
|
||||
REPO="prologic/zs-starter-template"
|
||||
BRANCH="main"
|
||||
|
||||
printf "<a href=\"%s\" rel=\"nofollow\" target=\"_self\">✍️ Edit this page</a>" "$url"
|
||||
url="${GITEA_BASE_URL}/${REPO}/_edit/${BRANCH}/${ZS_FILE}"
|
||||
|
||||
printf "<a href=\"%s\" rel=\"nofollow\" target=\"_blank\">✍️ Edit Page on Gitea</a>" "$url"
|
||||
|
||||
Reference in New Issue
Block a user