From 17f55d4c255be716239a5485dbe6aa87dd61d2d6 Mon Sep 17 00:00:00 2001 From: omartek Date: Mon, 22 Jul 2024 17:00:00 +0000 Subject: [PATCH] Edit me on Gitea (#140) Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/140 Reviewed-by: Paolo Asperti Co-authored-by: omartek Co-committed-by: omartek --- 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 }}