Update includes.html

change permalink '<meta property="og:url" content="{$index_url}?{$link.shorturl}" />' by '<meta property="og:url" content="{$index_url}shaare/{$link.shorturl}" />'
This commit is contained in:
Olivier 2021-05-15 10:50:13 +02:00 committed by GitHub
parent fbb33c723e
commit 3d27ecbb37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,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="mb_substr(strip_tags($ogDescription), 0, 300)"}" /> <meta property="og:description" content="{function="mb_substr(strip_tags($ogDescription), 0, 300)"}" />
{if="!empty($link.thumbnail)"} {if="!empty($link.thumbnail)"}