diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-13 12:05:08 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-13 12:05:08 +0200 |
commit | b6f678a5a1d15acf284ebcec16c905e976671ce1 (patch) | |
tree | 33c7da831482ed79c44896ef19c73c72ada84f2e /tpl/vintage/includes.html | |
parent | b14687036b9b800681197f51fdc47e62f0c88e2e (diff) | |
parent | 1c1520b6b98ab20201bfe15577782a52320339df (diff) | |
download | Shaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.tar.gz Shaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.tar.zst Shaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.zip |
Merge branch 'v0.12' into latest
Diffstat (limited to 'tpl/vintage/includes.html')
-rw-r--r-- | tpl/vintage/includes.html | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index 2efb6b10..eac05701 100644 --- a/tpl/vintage/includes.html +++ b/tpl/vintage/includes.html | |||
@@ -3,15 +3,19 @@ | |||
3 | <meta name="format-detection" content="telephone=no" /> | 3 | <meta name="format-detection" content="telephone=no" /> |
4 | <meta name="viewport" content="width=device-width,initial-scale=1.0" /> | 4 | <meta name="viewport" content="width=device-width,initial-scale=1.0" /> |
5 | <meta name="referrer" content="same-origin"> | 5 | <meta name="referrer" content="same-origin"> |
6 | <link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" /> | 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}?do=atom{$searchcrits}#" title="ATOM 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" /> | 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" /> | 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} | ||
10 | {loop="$plugins_includes.css_files"} | 13 | {loop="$plugins_includes.css_files"} |
11 | <link type="text/css" rel="stylesheet" href="{$value}#"/> | 14 | <link type="text/css" rel="stylesheet" href="{$base_path}/{$value}#"/> |
12 | {/loop} | 15 | {/loop} |
13 | {if="is_file('data/user.css')"}<link type="text/css" rel="stylesheet" href="data/user.css#" />{/if} | 16 | {if="is_file('data/user.css')"}<link type="text/css" rel="stylesheet" href="{$base_path}/data/user.css#" />{/if} |
14 | <link rel="search" type="application/opensearchdescription+xml" href="?do=opensearch#" title="Shaarli search - {$shaarlititle|htmlspecialchars}"/> | 17 | <link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#" |
18 | title="Shaarli search - {$shaarlititle|htmlspecialchars}" /> | ||
15 | {if="! empty($links) && count($links) === 1"} | 19 | {if="! empty($links) && count($links) === 1"} |
16 | {$link=reset($links)} | 20 | {$link=reset($links)} |
17 | <meta property="og:title" content="{$link.title}" /> | 21 | <meta property="og:title" content="{$link.title}" /> |
@@ -19,12 +23,12 @@ | |||
19 | <meta property="og:url" content="{$index_url}?{$link.shorturl}" /> | 23 | <meta property="og:url" content="{$index_url}?{$link.shorturl}" /> |
20 | {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} | 24 | {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} |
21 | <meta property="og:description" content="{function="mb_substr(strip_tags($ogDescription), 0, 300)"}" /> | 25 | <meta property="og:description" content="{function="mb_substr(strip_tags($ogDescription), 0, 300)"}" /> |
22 | {if="$link.thumbnail"} | 26 | {if="!empty($link.thumbnail)"} |
23 | <meta property="og:image" content="{$index_url}{$link.thumbnail}" /> | 27 | <meta property="og:image" content="{$index_url}{$link.thumbnail}" /> |
24 | {/if} | 28 | {/if} |
25 | {if="!$hide_timestamps || $is_logged_in"} | 29 | {if="!$hide_timestamps || $is_logged_in"} |
26 | <meta property="article:published_time" content="{$link.created->format(DateTime::ATOM)}" /> | 30 | <meta property="article:published_time" content="{$link.created->format(DateTime::ATOM)}" /> |
27 | {if="$link.updated"} | 31 | {if="!empty($link.updated)"} |
28 | <meta property="article:modified_time" content="{$link.updated->format(DateTime::ATOM)}" /> | 32 | <meta property="article:modified_time" content="{$link.updated->format(DateTime::ATOM)}" /> |
29 | {/if} | 33 | {/if} |
30 | {/if} | 34 | {/if} |