aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/vintage/includes.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2021-01-19 11:18:56 +0100
committerArthurHoaro <arthur@hoa.ro>2021-01-19 11:18:56 +0100
commit9e55beebfdbc7c8db8590792479689322b92a235 (patch)
treeb25bc882cdcb407633f434ac0bd6f850348cf11d /tpl/vintage/includes.html
parentccd1862d5f6f2c0548473466aaff7ee99f9d67d2 (diff)
downloadShaarli-9e55beebfdbc7c8db8590792479689322b92a235.tar.gz
Shaarli-9e55beebfdbc7c8db8590792479689322b92a235.tar.zst
Shaarli-9e55beebfdbc7c8db8590792479689322b92a235.zip
Fix: error when using bulk shaare with a single URL
Make sure that header metadata associated with permalink is only used in linklist template. Fixes #1686
Diffstat (limited to 'tpl/vintage/includes.html')
-rw-r--r--tpl/vintage/includes.html2
1 files changed, 1 insertions, 1 deletions
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" />