]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/vintage/includes.html
2ce9da423af296bd4638f8408f2d487445135ddc
[github/shaarli/Shaarli.git] / tpl / vintage / includes.html
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="{$asset_path}/img/favicon.ico#" rel="shortcut icon" type="image/x-icon" />
9 <link type="text/css" rel="stylesheet" href="{$asset_path}/css/shaarli.min.css#" />
10 {if="$formatter==='markdown'"}
11 <link type="text/css" rel="stylesheet" href="{$asset_path}/css/markdown.min.css?v={$version_hash}#" />
12 {/if}
13 {loop="$plugins_includes.css_files"}
14 <link type="text/css" rel="stylesheet" href="{$root_path}/{$value}#"/>
15 {/loop}
16 {if="is_file('data/user.css')"}<link type="text/css" rel="stylesheet" href="{$base_path}/data/user.css#" />{/if}
17 <link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#"
18 title="Shaarli search - {$shaarlititle|htmlspecialchars}" />
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}
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}" />
28 {/if}
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)}" />
33 {/if}
34 {/if}
35 {loop="link.taglist"}
36 <meta property="article:tag" content="{$value}" />
37 {/loop}
38 {/if}