diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-21 20:31:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-21 20:31:08 +0200 |
commit | 952740969ca9fa74c893dfe0961d3ae55ec9e85b (patch) | |
tree | 928abac9cfcf188bb403242a162d61742268a346 /templates | |
parent | 362db912fa41a04afff6ac96acbe388149aafeb0 (diff) |
add opengraph metadata output1.17.5
Diffstat (limited to 'templates')
-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 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"> |