mirror of
https://git.mills.io/prologic/zs-starter-template.git
synced 2024-11-21 12:56:04 +03:00
Fix editthispage
This commit is contained in:
parent
d76322de1f
commit
6bd31945bd
@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/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"
|
||||||
|
Loading…
Reference in New Issue
Block a user