]>
Commit | Line | Data |
---|---|---|
45034273 SS |
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" /> | |
1ef05d36 | 5 | <meta name="referrer" content="same-origin"> |
9c75f877 A |
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" /> | |
df9aac5b | 8 | <link href="{$asset_path}/img/favicon.ico#" rel="shortcut icon" type="image/x-icon" /> |
9fbc4229 | 9 | <link type="text/css" rel="stylesheet" href="{$asset_path}/css/shaarli.min.css#" /> |
cf92b4dd | 10 | {if="$formatter==='markdown'"} |
818b3193 | 11 | <link type="text/css" rel="stylesheet" href="{$asset_path}/css/markdown.min.css?v={$version_hash}#" /> |
cf92b4dd | 12 | {/if} |
567967fd | 13 | {loop="$plugins_includes.css_files"} |
df9aac5b | 14 | <link type="text/css" rel="stylesheet" href="{$root_path}/{$value}#"/> |
8f8113b9 | 15 | {/loop} |
9fbc4229 | 16 | {if="is_file('data/user.css')"}<link type="text/css" rel="stylesheet" href="{$base_path}/data/user.css#" />{/if} |
818b3193 | 17 | <link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#" |
5ec4708c | 18 | title="Shaarli search - {$shaarlititle|htmlspecialchars}" /> |
a120fb29 A |
19 | {if="! empty($links) && count($links) === 1"} |
20 | {$link=reset($links)} | |
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} | |
49106a5d | 25 | <meta property="og:description" content="{function="mb_substr(strip_tags($ogDescription), 0, 300)"}" /> |
e0e24335 | 26 | {if="!empty($link.thumbnail)"} |
a120fb29 A |
27 | <meta property="og:image" content="{$index_url}{$link.thumbnail}" /> |
28 | {/if} | |
29 | {if="!$hide_timestamps || $is_logged_in"} | |
30 | <meta property="article:published_time" content="{$link.created->format(DateTime::ATOM)}" /> | |
d9bfcead | 31 | {if="!empty($link.updated)"} |
a120fb29 A |
32 | <meta property="article:modified_time" content="{$link.updated->format(DateTime::ATOM)}" /> |
33 | {/if} | |
34 | {/if} | |
35 | {loop="link.taglist"} | |
36 | <meta property="article:tag" content="{$value}" /> | |
37 | {/loop} | |
38 | {/if} |