Generalize documentation helpers
Change-Id: Iaba69a433f25d2160857694b0b434c51c02c0367
diff --git a/templates/doc/data/annotation.html.ep b/templates/doc/data/annotation.html.ep
index 656323e..0fd87f0 100644
--- a/templates/doc/data/annotation.html.ep
+++ b/templates/doc/data/annotation.html.ep
@@ -1,6 +1,6 @@
% layout 'main', title => 'KorAP: Annotations';
-<h2 id="tutorial-top">Annotations</h2>
+%= page_title
<p>KorAP provides access to multiple levels of annotations originating from multiple resources, so called <em>foundries</em>.</p>
@@ -41,7 +41,7 @@
<p>DeReKo annotations provide the following layer for the <code>dereko</code> prefix:</p>
<dl>
<dt><abbr data-type="token" title="Structure">s</abbr></dt>
- <dd>Document structure as encoded in the <%= doc_ext_link_to 'I5 text document', 'http://www1.ids-mannheim.de/kl/projekte/korpora/textmodell.html' %>.</dd>
+ <dd>Document structure as encoded in the <%= ext_link_to 'I5 text document', 'http://www1.ids-mannheim.de/kl/projekte/korpora/textmodell.html' %>.</dd>
</dl>
%= doc_query poliqarp => 'startsWith(<dereko/s=s>, Fragestunde)', cutoff => 1
</section>
@@ -54,7 +54,7 @@
<dt><abbr data-type="token" title="Part-of-Speech">p</abbr></dt>
<dd>Part-of-speech information is written in capital letters and is based on STTS</dd>
<dt><abbr data-type="token" title="Constituency">c</abbr></dt>
- <dd>Constituency information follows the annotations of the <%= doc_ext_link_to 'negr@ corpus', 'http://www.coli.uni-saarland.de/projects/sfb378/negra-corpus/negra-corpus.html' %>.</dd>
+ <dd>Constituency information follows the annotations of the <%= ext_link_to 'negr@ corpus', 'http://www.coli.uni-saarland.de/projects/sfb378/negra-corpus/negra-corpus.html' %>.</dd>
<dt><abbr data-type="token" title="Named Entity">ne</abbr></dt>
<dd>Contains named entities like <code>I-PER</code>, <code>I-ORG</code> etc.</dd>
<dt><abbr data-type="token" title="Named Entity">ne_hgc_175m_600</abbr></dt>