feature: lebende Dokumente — Fußnoten/Quellen + Provenance/Zitieren

- Fußnoten (Goldmark [^1], schon nativ) gestylt: ruhiges Schriftbild,
  automatische „Quellen"-Überschrift statt <hr>
- provenance.html-Partial bei Library-Beiträgen: Version → Commit, Verlauf
  (Gitea), „Zitieren"-Knopf (kopiert Quellenangabe in die Zwischenablage)
- repoURL-Param (git.openbureau.ch) für die Provenance-Links

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 00:56:28 +02:00
parent 9f9071d23f
commit c3c8c9639f
4 changed files with 109 additions and 0 deletions
+5
View File
@@ -63,6 +63,11 @@
</ul>
{{- end }}
{{/* Herkunft/Zitieren — nur bei Library-Beiträgen (lebendes Dokument). */}}
{{ if eq .Section "library" }}
{{ partial "provenance.html" . }}
{{ end }}
{{/* Dialog nur bei Artikeln (Library), nicht auf Seiten wie Spenden/Manifest. */}}
{{ if eq .Section "library" }}
<a class="dialog-link" id="dialog-link" data-thread="{{ .RelPermalink }}" href="/dialog/?thread={{ .RelPermalink }}">→ Dialog</a>