diff --git a/.zs/editthispage b/.zs/editthispage new file mode 100755 index 0000000..849729b --- /dev/null +++ b/.zs/editthispage @@ -0,0 +1,7 @@ +#!/bin/sh + +GITEA_BASE_URL="https://git.mills.io/prologic/zs-starter-template/_edit/main/index.md" + +url="${GITEA_BASE_URL}/${ZS_FILE}" + +printf "✍️ Edit this page on Gitea." "$url" diff --git a/.zs/layout.html b/.zs/layout.html index b950219..5ce36ed 100644 --- a/.zs/layout.html +++ b/.zs/layout.html @@ -26,6 +26,7 @@
{{ content }}
+ {{ editthispage }}