aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMark Schmitz <kramred@gmail.com>2018-06-07 14:23:41 +0100
committerMark Schmitz <kramred@gmail.com>2018-06-07 14:23:41 +0100
commitf6b3295d28352cbeb46dff04799cf8f4d39087bb (patch)
tree390927622c030a9056a6977f97eb145d67fe8ef2
parent66d37a4fb49cc25142c768ed63351ea0f8881183 (diff)
downloadShaarli-f6b3295d28352cbeb46dff04799cf8f4d39087bb.tar.gz
Shaarli-f6b3295d28352cbeb46dff04799cf8f4d39087bb.tar.zst
Shaarli-f6b3295d28352cbeb46dff04799cf8f4d39087bb.zip
also for new default tpl add meta tag to block sending the referrer vintage -> #692
-rw-r--r--.gitignore5
-rw-r--r--tpl/default/includes.html1
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 414ff6d5..170030ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,11 @@ pagecache
9.buildpath 9.buildpath
10.project 10.project
11 11
12# macOS General
13.DS_Store
14.AppleDouble
15.LSOverride
16
12# Raintpl generated pages 17# Raintpl generated pages
13*.rtpl.php 18*.rtpl.php
14 19
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index 34e0ff01..5ccacaaf 100644
--- a/tpl/default/includes.html
+++ b/tpl/default/includes.html
@@ -2,6 +2,7 @@
2<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 2<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
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"> 4<meta name="viewport" content="width=device-width, initial-scale=1">
5<meta name="referrer" content="same-origin">
5<link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" /> 6<link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" />
6<link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" /> 7<link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" />
7<link href="img/favicon.png" rel="shortcut icon" type="image/png" /> 8<link href="img/favicon.png" rel="shortcut icon" type="image/png" />