]>
Commit | Line | Data |
---|---|---|
402b0346 A |
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"> | |
f6b3295d | 5 | <meta name="referrer" content="same-origin"> |
9c75f877 A |
6 | <link rel="alternate" type="application/atom+xml" href="{$feedurl}feed/atom?{$searchcrits}#" title="ATOM Feed" /> |
7 | <link rel="alternate" type="application/rss+xml" href="{$feedurl}feed/rss?{$searchcrits}#" title="RSS Feed" /> | |
818b3193 A |
8 | <link href="{$asset_path}/img/favicon.png#" rel="shortcut icon" type="image/png" /> |
9 | <link href="{$asset_path}/img/apple-touch-icon.png#" rel="apple-touch-icon" sizes="180x180" /> | |
10 | <link type="text/css" rel="stylesheet" href="{$asset_path}/css/shaarli.min.css?v={$version_hash}#" /> | |
8fabcd02 | 11 | {if="strpos($formatter, 'markdown') !== false"} |
818b3193 | 12 | <link type="text/css" rel="stylesheet" href="{$asset_path}/css/markdown.min.css?v={$version_hash}#" /> |
cf92b4dd | 13 | {/if} |
402b0346 | 14 | {loop="$plugins_includes.css_files"} |
7f525042 | 15 | <link type="text/css" rel="stylesheet" href="{$root_path}/{$value}?v={$version_hash}#"/> |
402b0346 | 16 | {/loop} |
d811e4fd | 17 | {if="is_file('data/user.css')"} |
7f525042 | 18 | <link type="text/css" rel="stylesheet" href="{$root_path}/data/user.css#" /> |
d811e4fd | 19 | {/if} |
818b3193 | 20 | <link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#" |
5ec4708c | 21 | title="Shaarli search - {$shaarlititle}" /> |
9e55beeb | 22 | {if="$template === 'linklist' && ! empty($links) && count($links) === 1"} |
a120fb29 A |
23 | {$link=reset($links)} |
24 | <meta property="og:title" content="{$link.title}" /> | |
25 | <meta property="og:type" content="article" /> | |
26 | <meta property="og:url" content="{$index_url}?{$link.shorturl}" /> | |
27 | {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} | |
49106a5d | 28 | <meta property="og:description" content="{function="substr(strip_tags($ogDescription), 0, 300)"}" /> |
e0e24335 | 29 | {if="!empty($link.thumbnail)"} |
a120fb29 A |
30 | <meta property="og:image" content="{$index_url}{$link.thumbnail}" /> |
31 | {/if} | |
32 | {if="!$hide_timestamps || $is_logged_in"} | |
33 | <meta property="article:published_time" content="{$link.created->format(DateTime::ATOM)}" /> | |
d9bfcead | 34 | {if="!empty($link.updated)"} |
a120fb29 A |
35 | <meta property="article:modified_time" content="{$link.updated->format(DateTime::ATOM)}" /> |
36 | {/if} | |
37 | {/if} | |
38 | {loop="link.taglist"} | |
39 | <meta property="article:tag" content="{$value}" /> | |
40 | {/loop} | |
41 | {/if} |