2017-01-14 15:52:17 +01:00
|
|
|
<title>{$pagetitle}</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<meta name="format-detection" content="telephone=no" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2018-06-07 15:23:41 +02:00
|
|
|
<meta name="referrer" content="same-origin">
|
2017-01-14 15:52:17 +01:00
|
|
|
<link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" />
|
|
|
|
<link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" />
|
|
|
|
<link href="img/favicon.png" rel="shortcut icon" type="image/png" />
|
2017-11-08 19:27:22 +01:00
|
|
|
<link href="img/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
|
2018-02-24 18:34:50 +01:00
|
|
|
<link type="text/css" rel="stylesheet" href="css/shaarli.min.css?v={$version_hash}" />
|
2017-01-14 15:52:17 +01:00
|
|
|
{loop="$plugins_includes.css_files"}
|
2017-10-01 11:02:48 +02:00
|
|
|
<link type="text/css" rel="stylesheet" href="{$value}?v={$version_hash}#"/>
|
2017-01-14 15:52:17 +01:00
|
|
|
{/loop}
|
2018-04-13 14:21:58 +02:00
|
|
|
{if="is_file('data/user.css')"}
|
|
|
|
<link type="text/css" rel="stylesheet" href="data/user.css#" />
|
|
|
|
{/if}
|
2017-11-08 19:27:22 +01:00
|
|
|
<link rel="search" type="application/opensearchdescription+xml" href="?do=opensearch#" title="Shaarli search - {$shaarlititle}"/>
|
2018-08-13 10:42:27 +02:00
|
|
|
{if="! empty($links) && count($links) === 1"}
|
|
|
|
{$link=reset($links)}
|
|
|
|
<meta property="og:title" content="{$link.title}" />
|
|
|
|
<meta property="og:type" content="article" />
|
|
|
|
<meta property="og:url" content="{$index_url}?{$link.shorturl}" />
|
|
|
|
{$ogDescription=isset($link.description_src) ? $link.description_src : $link.description}
|
2019-01-18 22:58:09 +01:00
|
|
|
<meta property="og:description" content="{function="substr(strip_tags($ogDescription), 0, 300)"}" />
|
2018-08-13 10:42:27 +02:00
|
|
|
{if="$link.thumbnail"}
|
|
|
|
<meta property="og:image" content="{$index_url}{$link.thumbnail}" />
|
|
|
|
{/if}
|
|
|
|
{if="!$hide_timestamps || $is_logged_in"}
|
|
|
|
<meta property="article:published_time" content="{$link.created->format(DateTime::ATOM)}" />
|
|
|
|
{if="$link.updated"}
|
|
|
|
<meta property="article:modified_time" content="{$link.updated->format(DateTime::ATOM)}" />
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
{loop="link.taglist"}
|
|
|
|
<meta property="article:tag" content="{$value}" />
|
|
|
|
{/loop}
|
|
|
|
{/if}
|