aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2019-10-29 23:06:25 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2019-10-29 23:06:25 -0700
commit03406c68d0f993f68ca45c868cc9eda6ac110c8d (patch)
tree3ad96d8af4db8ec0c711b4cc47631caff2f73716
parentd3883126bfca47f1af57a6388ff7b00c997c924f (diff)
Add meta tag to disable Google Translate
-rw-r--r--template/common.go3
-rw-r--r--template/html/common/layout.html1
2 files changed, 3 insertions, 1 deletions
diff --git a/template/common.go b/template/common.go
index ace693c..ce8108d 100644
--- a/template/common.go
+++ b/template/common.go
@@ -87,6 +87,7 @@ var templateCommonMap = map[string]string{
<meta name="robots" content="noindex,nofollow">
<meta name="referrer" content="no-referrer">
+ <meta name="google" content="notranslate">
<!-- Favicons -->
<link rel="icon" type="image/png" sizes="16x16" href="{{ route "appIcon" "filename" "favicon-16.png" }}">
@@ -250,6 +251,6 @@ var templateCommonMap = map[string]string{
var templateCommonMapChecksums = map[string]string{
"entry_pagination": "4faa91e2eae150c5e4eab4d258e039dfdd413bab7602f0009360e6d52898e353",
"item_meta": "34deb081a054f2948ad808bdb2c8603d6ab00c58f2f50c4ead0b47ae092888eb",
- "layout": "93a4873adf5deb99b77f60e71465eab817c32a381de696b93ff27b7eaa47bb3b",
+ "layout": "010e31c9dde88cb429b21f4b0c24bb3769043a3ef1ef4a57100314f5910c8725",
"pagination": "3386e90c6e1230311459e9a484629bc5d5bf39514a75ef2e73bbbc61142f7abb",
}
diff --git a/template/html/common/layout.html b/template/html/common/layout.html
index 7ca571b..c128b20 100644
--- a/template/html/common/layout.html
+++ b/template/html/common/layout.html
@@ -13,6 +13,7 @@
<meta name="robots" content="noindex,nofollow">
<meta name="referrer" content="no-referrer">
+ <meta name="google" content="notranslate">
<!-- Favicons -->
<link rel="icon" type="image/png" sizes="16x16" href="{{ route "appIcon" "filename" "favicon-16.png" }}">