summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2016-01-29 16:33:28 +0000
committerdakkar <dakkar@thenautilus.net>2016-01-29 16:33:28 +0000
commit52678284c3db351c46554d149934557d0cc4a2ce (patch)
tree79d287606b278190c41e923ca338fe5f4d1f312f /templates
parentmore anime list (diff)
downloadthenautilus-52678284c3db351c46554d149934557d0cc4a2ce.tar.gz
thenautilus-52678284c3db351c46554d149934557d0cc4a2ce.tar.bz2
thenautilus-52678284c3db351c46554d149934557d0cc4a2ce.zip
add Twitter cards to all pages
Diffstat (limited to 'templates')
-rw-r--r--templates/du2html.xsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/du2html.xsl b/templates/du2html.xsl
index ea3a1b8..db8ce3c 100644
--- a/templates/du2html.xsl
+++ b/templates/du2html.xsl
@@ -174,6 +174,12 @@
<x:if test="$path = ''"> <!-- root / index document -->
<meta name="google-site-verification" content="NStibYPYcJWPVXEJMnjEOvQazfKubbaz3TrEi64my-Y" />
</x:if>
+ <meta name="twitter:card" content="summary" />
+ <meta name="twitter:site" content="@dakkar" />
+ <meta name="twitter:title" content="{normalize-space(title)}" />
+ <x:if test="subtitle">
+ <meta name="twitter:description" content="{normalize-space(subtitle)}" />
+ </x:if>
</head>
<body>
<div id="wrapper">