parent
0a4bc5a17d
commit
e0e24335f7
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
<meta property="og:url" content="{$index_url}?{$link.shorturl}" />
|
<meta property="og:url" content="{$index_url}?{$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="$link.thumbnail"}
|
{if="!empty($link.thumbnail)"}
|
||||||
<meta property="og:image" content="{$index_url}{$link.thumbnail}" />
|
<meta property="og:image" content="{$index_url}{$link.thumbnail}" />
|
||||||
{/if}
|
{/if}
|
||||||
{if="!$hide_timestamps || $is_logged_in"}
|
{if="!$hide_timestamps || $is_logged_in"}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<meta property="og:url" content="{$index_url}?{$link.shorturl}" />
|
<meta property="og:url" content="{$index_url}?{$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="$link.thumbnail"}
|
{if="!empty($link.thumbnail)"}
|
||||||
<meta property="og:image" content="{$index_url}{$link.thumbnail}" />
|
<meta property="og:image" content="{$index_url}{$link.thumbnail}" />
|
||||||
{/if}
|
{/if}
|
||||||
{if="!$hide_timestamps || $is_logged_in"}
|
{if="!$hide_timestamps || $is_logged_in"}
|
||||||
|
|
Loading…
Reference in a new issue