diff options
Diffstat (limited to 'tpl')
-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" /> |