aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/includes.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-09-10 18:40:07 +0200
committerArthurHoaro <arthur@hoa.ro>2019-09-10 18:40:07 +0200
commite0e24335f7b72afb388fbb180596675fc1b2182c (patch)
tree5581f958459226960668f29f9d2d944293b5f4f2 /tpl/default/includes.html
parent0a4bc5a17dd8bc198d45aca13f9e40de4664159d (diff)
downloadShaarli-e0e24335f7b72afb388fbb180596675fc1b2182c.tar.gz
Shaarli-e0e24335f7b72afb388fbb180596675fc1b2182c.tar.zst
Shaarli-e0e24335f7b72afb388fbb180596675fc1b2182c.zip
Fix undefined thumbnail on OpenGraph headers
Fixes #1362
Diffstat (limited to 'tpl/default/includes.html')
-rw-r--r--tpl/default/includes.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index 6c30d1bf..d3d3c86f 100644
--- a/tpl/default/includes.html
+++ b/tpl/default/includes.html
@@ -22,7 +22,7 @@
22 <meta property="og:url" content="{$index_url}?{$link.shorturl}" /> 22 <meta property="og:url" content="{$index_url}?{$link.shorturl}" />
23 {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} 23 {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description}
24 <meta property="og:description" content="{function="substr(strip_tags($ogDescription), 0, 300)"}" /> 24 <meta property="og:description" content="{function="substr(strip_tags($ogDescription), 0, 300)"}" />
25 {if="$link.thumbnail"} 25 {if="!empty($link.thumbnail)"}
26 <meta property="og:image" content="{$index_url}{$link.thumbnail}" /> 26 <meta property="og:image" content="{$index_url}{$link.thumbnail}" />
27 {/if} 27 {/if}
28 {if="!$hide_timestamps || $is_logged_in"} 28 {if="!$hide_timestamps || $is_logged_in"}