diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-29 18:10:45 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-29 18:11:25 +0200 |
commit | 146b3a2682c7c91984b15bfa34325558201203ba (patch) | |
tree | 7bcbdc2783bb47386ec47b3a2478eac27cac2cfe /templates/layouts | |
parent | 22eee81c1c50db24b2ded8fdb65dfb4352506d31 (diff) |
add twitter preview tags to public user status page
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/default.html.ep | 3 |
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"> |