mirror of
https://salsa.debian.org/hertzog/debian-handbook.git
synced 2026-01-11 19:56:38 +00:00
Add <meta name="flattr:id"> to the HTML head of the book
This commit is contained in:
parent
e9cbcf5d0e
commit
e3f8c74e6a
1 changed files with 2 additions and 1 deletions
|
|
@ -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/'"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue