diff options
author | ArthurHoaro <arthur@hoa.ro> | 2021-01-19 11:48:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 11:48:29 +0100 |
commit | 31c4be2b60b3cf5b44fab7abd4ef06e2c3fe8c7c (patch) | |
tree | b25bc882cdcb407633f434ac0bd6f850348cf11d | |
parent | 2fbdb7d657a37884b8bbd0162b1d79db6aeba726 (diff) | |
parent | 9e55beebfdbc7c8db8590792479689322b92a235 (diff) | |
download | Shaarli-31c4be2b60b3cf5b44fab7abd4ef06e2c3fe8c7c.tar.gz Shaarli-31c4be2b60b3cf5b44fab7abd4ef06e2c3fe8c7c.tar.zst Shaarli-31c4be2b60b3cf5b44fab7abd4ef06e2c3fe8c7c.zip |
Merge pull request #1688 from ArthurHoaro/fix/bulk-single-url
-rw-r--r-- | tpl/default/includes.html | 2 | ||||
-rw-r--r-- | tpl/vintage/includes.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/default/includes.html b/tpl/default/includes.html index 3e3fb664..6be2a2ea 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html | |||
@@ -19,7 +19,7 @@ | |||
19 | {/if} | 19 | {/if} |
20 | <link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#" | 20 | <link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#" |
21 | title="Shaarli search - {$shaarlititle}" /> | 21 | title="Shaarli search - {$shaarlititle}" /> |
22 | {if="! empty($links) && count($links) === 1"} | 22 | {if="$template === 'linklist' && ! empty($links) && count($links) === 1"} |
23 | {$link=reset($links)} | 23 | {$link=reset($links)} |
24 | <meta property="og:title" content="{$link.title}" /> | 24 | <meta property="og:title" content="{$link.title}" /> |
25 | <meta property="og:type" content="article" /> | 25 | <meta property="og:type" content="article" /> |
diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index 2ce9da42..4fd78467 100644 --- a/tpl/vintage/includes.html +++ b/tpl/vintage/includes.html | |||
@@ -16,7 +16,7 @@ | |||
16 | {if="is_file('data/user.css')"}<link type="text/css" rel="stylesheet" href="{$base_path}/data/user.css#" />{/if} | 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#" | 17 | <link rel="search" type="application/opensearchdescription+xml" href="{$base_path}/open-search#" |
18 | title="Shaarli search - {$shaarlititle|htmlspecialchars}" /> | 18 | title="Shaarli search - {$shaarlititle|htmlspecialchars}" /> |
19 | {if="! empty($links) && count($links) === 1"} | 19 | {if="$template === 'linklist' && ! empty($links) && count($links) === 1"} |
20 | {$link=reset($links)} | 20 | {$link=reset($links)} |
21 | <meta property="og:title" content="{$link.title}" /> | 21 | <meta property="og:title" content="{$link.title}" /> |
22 | <meta property="og:type" content="article" /> | 22 | <meta property="og:type" content="article" /> |