From 5b7b201b982d4ba31b99cc92b8031af33380041a Mon Sep 17 00:00:00 2001 From: omartek Date: Mon, 22 Jul 2024 13:35:21 +0200 Subject: [PATCH] Edit me on Gitea --- layouts/_default/baseof.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6c1da75..4c01996 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -28,6 +28,10 @@
{{- block "main" . }}{{- end }}
+ {{ if .IsPage }} + {{ $gitea := print "https://git.libreschool.org/BgLUG/bglug.it/src/branch/main/content/" .File.Path }} + Edit me on Gitea + {{ end }}