Add <meta name="flattr:id"> to the HTML head of the book

This commit is contained in:
Raphaël Hertzog 2017-05-21 20:32:28 +02:00
parent e9cbcf5d0e
commit e3f8c74e6a

View file

@ -21,7 +21,7 @@
</xsl:choose>
</xsl:template>
<!-- Add <link rel="canonical"> to the headers -->
<!-- Add <link rel="canonical"> <meta name="flattr:id"> to the headers -->
<xsl:template name="user.head.content">
<xsl:variable name="filename">
<xsl:apply-templates mode="chunk-filename" select="."/>
@ -30,6 +30,7 @@
select="ancestor-or-self::*
[@lang or @xml:lang][1]"/>
<xsl:variable name="lang" select="string(($lang-scope/@lang | $lang-scope/@xml:lang)[1])"/>
<meta name="flattr:id" content="4pz9jq"/>
<link rel="canonical">
<xsl:attribute name="href">
<xsl:value-of select="'https://debian-handbook.info/browse/'"/>