Merge pull request #1750 from oblab/patch-1

Update includes.html
This commit is contained in:
ArthurHoaro 2021-05-15 10:47:53 +02:00 committed by GitHub
commit fbb33c723e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@
{$link=reset($links)} {$link=reset($links)}
<meta property="og:title" content="{$link.title}" /> <meta property="og:title" content="{$link.title}" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:url" content="{$index_url}?{$link.shorturl}" /> <meta property="og:url" content="{$index_url}shaare/{$link.shorturl}" />
{$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description}
<meta property="og:description" content="{function="substr(strip_tags($ogDescription), 0, 300)"}" /> <meta property="og:description" content="{function="substr(strip_tags($ogDescription), 0, 300)"}" />
{if="!empty($link.thumbnail)"} {if="!empty($link.thumbnail)"}