Edit me on Gitea (#140)

Reviewed-on: #140
Reviewed-by: Paolo Asperti <paspo@noreply.libreschool.org>
Co-authored-by: omartek <olazzari@gmail.com>
Co-committed-by: omartek <olazzari@gmail.com>
This commit is contained in:
omar 2024-07-22 17:00:00 +00:00 committed by Paolo Asperti
parent c9d28e123d
commit 17f55d4c25

View File

@ -28,6 +28,10 @@
<article>
{{- block "main" . }}{{- end }}
</article>
{{ if .IsPage }}
{{ $gitea := print "https://git.libreschool.org/BgLUG/bglug.it/src/branch/main/content/" .File.Path }}
<a href="{{ $gitea }}"> Edit me on Gitea </a>
{{ end }}
</div>
</div>