summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-21 20:31:08 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-21 20:31:08 +0200
commit952740969ca9fa74c893dfe0961d3ae55ec9e85b (patch)
tree928abac9cfcf188bb403242a162d61742268a346 /templates
parent362db912fa41a04afff6ac96acbe388149aafeb0 (diff)
add opengraph metadata output1.17.5
Diffstat (limited to 'templates')
-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 fc04ff1..b19f608 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -10,6 +10,9 @@
% while (my ($key, $value) = each %{stash('twitter') // {}}) {
<meta name="twitter:<%= $key %>" content="<%= $value %>">
% }
+ % while (my ($key, $value) = each %{stash('opengraph') // {}}) {
+ <meta property="og:<%= $key %>" content="<%= $value %>">
+ % }
% my $av = 'v34'; # 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">