summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-06-21 21:37:56 +0800
committerCheng-Han, Wu2016-06-21 21:37:56 +0800
commitad6982e77e1948bd7b74538af0c5a24120a38370 (patch)
tree32af1b24bf867f0a29f4b062cc250de4cb65f900 /public/views
parent949f26a0d150996e408d407dd7540c4c736073f0 (diff)
Remove robot meta on note edit page and html template, add prevent crawling header to enhance note privacy
Diffstat (limited to '')
-rw-r--r--public/views/head.ejs3
-rw-r--r--public/views/html.hbs1
2 files changed, 0 insertions, 4 deletions
diff --git a/public/views/head.ejs b/public/views/head.ejs
index 3dcf4866..70f6455d 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -4,9 +4,6 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes">
-<% if(typeof robots !== 'undefined' && robots) { %>
-<meta name="robots" content="<%- robots %>">
-<% } %>
<title><%- title %></title>
<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
diff --git a/public/views/html.hbs b/public/views/html.hbs
index 33fbd536..f6e57497 100644
--- a/public/views/html.hbs
+++ b/public/views/html.hbs
@@ -9,7 +9,6 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes">
- {{{robots}}}
<title>
{{title}}
</title>