Add a citation help partial with corpus, KorAP and annotation parts
Add a citation help partial that lists how to cite a KorAP instance: the
corpus it serves, KorAP itself, and the annotation and classification
tools its data was prepared with. Instances include it wherever they
present citation information, e.g. on a documentation page.
It is assembled from three parts -- corpus, korap and annotation -- so
that an instance can replace individual parts and inherit the rest.
Kalamar ships no corpus of its own, so the corpus part is a placeholder
that instances replace by the citations for their corpus, while the
korap and annotation parts are normally inherited unchanged.
Every entry carries a COinS (Z3988) span, which lets reference managers
such as Zotero import it with one click. The section headings are
localized in kalamar.dict and kept free of corpus-specific names.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Change-Id: Ib9ccc607fe5387027b8d151901d364f6589b62ac
diff --git a/templates/partial/citation.html.ep b/templates/partial/citation.html.ep
new file mode 100644
index 0000000..eb26106
--- /dev/null
+++ b/templates/partial/citation.html.ep
@@ -0,0 +1,17 @@
+%# Citation help: how to cite this KorAP instance -- the corpus it serves,
+%# KorAP itself, and the tools its data was annotated and classified with.
+%#
+%# Each part can be replaced by an instance template, e.g. to cite the corpus
+%# the instance actually serves -- Kalamar ships no corpus of its own, so the
+%# corpus part is only a placeholder:
+%#
+%# %= include 'partial/citation', corpus_citation => 'custom/partial/citation/corpus'
+%#
+%# The korap and annotation parts describe KorAP and the standard
+%# KorAP-Ingestion pipeline and are normally used as they are.
+%# (%#-lines are comments and never reach the HTML.)
+<p class="citation-intro"><%== loc 'citationIntro' %></p>
+
+%== include stash('corpus_citation') // 'partial/citation/corpus'
+%== include stash('korap_citation') // 'partial/citation/korap'
+%== include stash('annotation_citation') // 'partial/citation/annotation'