summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-29 18:10:45 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-29 18:11:25 +0200
commit146b3a2682c7c91984b15bfa34325558201203ba (patch)
tree7bcbdc2783bb47386ec47b3a2478eac27cac2cfe /templates/layouts
parent22eee81c1c50db24b2ded8fdb65dfb4352506d31 (diff)
add twitter preview tags to public user status page
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/default.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index eef610f..4423060 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -7,6 +7,9 @@
<meta name="description" content="Checkin-Service und Verspätungslog für Bahnfahrten">
<meta name="theme-color" content="#673ab7">
<meta name="apple-mobile-web-app-title" content="Travelynx">
+ % while (my ($key, $value) = each %{stash('twitter') // {}}) {
+ <meta name="twitter:<%= $key %>" content="<%= $value %>">
+ % }
% my $av = 'v25'; # asset version
<link rel="icon" type="image/png" href="/static/<%= $av %>/icons/icon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/static/<%= $av %>/icons/icon-32x32.png" sizes="32x32">