1 <title>{$pagetitle}
</title>
2 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
3 <meta name=
"format-detection" content=
"telephone=no" />
4 <meta name=
"viewport" content=
"width=device-width,initial-scale=1.0" />
5 <meta name=
"referrer" content=
"same-origin">
6 <link rel=
"alternate" type=
"application/rss+xml" href=
"{$feedurl}feed-rss?{$searchcrits}#" title=
"RSS Feed" />
7 <link rel=
"alternate" type=
"application/atom+xml" href=
"{$feedurl}feed-atom?{$searchcrits}#" title=
"ATOM Feed" />
8 <link href=
"img/favicon.ico" rel=
"shortcut icon" type=
"image/x-icon" />
9 <link type=
"text/css" rel=
"stylesheet" href=
"css/shaarli.min.css" />
10 {
if="$formatter==='markdown'"}
11 <link type=
"text/css" rel=
"stylesheet" href=
"css/markdown.min.css?v={$version_hash}" />
13 {
loop="$plugins_includes.css_files"}
14 <link type=
"text/css" rel=
"stylesheet" href=
"{$value}#"/>
16 {
if="is_file('data/user.css')"}
<link type=
"text/css" rel=
"stylesheet" href=
"data/user.css#" />{/if}
17 <link rel=
"search" type=
"application/opensearchdescription+xml" href=
"./open-search#"
18 title=
"Shaarli search - {$shaarlititle|htmlspecialchars}" />
19 {
if="! empty($links) && count($links) ===
1"}
21 <meta property=
"og:title" content=
"{$link.title}" />
22 <meta property=
"og:type" content=
"article" />
23 <meta property=
"og:url" content=
"{$index_url}?{$link.shorturl}" />
24 {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description}
25 <meta property=
"og:description" content=
"{function="mb_substr(strip_tags($ogDescription),
0,
300)
"}" />
26 {
if="!empty($link.thumbnail)"}
27 <meta property=
"og:image" content=
"{$index_url}{$link.thumbnail}" />
29 {
if="!$hide_timestamps || $is_logged_in"}
30 <meta property=
"article:published_time" content=
"{$link.created->format(DateTime::ATOM)}" />
31 {
if="!empty($link.updated)"}
32 <meta property=
"article:modified_time" content=
"{$link.updated->format(DateTime::ATOM)}" />
36 <meta property=
"article:tag" content=
"{$value}" />