Skip to content

Commit

Permalink
tei->html: unify 'READ ONLINE' link uri calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
EsGeh authored and EsGeh committed Dec 11, 2019
1 parent 832d2bc commit d0ee9a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tei2html/tei2html_publ_frontpage_utils.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@
<xsl:text>link link--green</xsl:text>
</xsl:attribute>
<xsl:attribute name="href">
<xsl:text>./1/index.html</xsl:text>
<xsl:for-each select="//tei:body//tei:div[@type = 'chapter'][1]">
<xsl:call-template name="uri_from_frontpage"/>
</xsl:for-each>
</xsl:attribute>
<span class="link__label">READ ONLINE</span>
</xsl:element>
Expand Down

0 comments on commit d0ee9a6

Please sign in to comment.