Преглед изворни кода

Merge pull request #378 from PrivateBin/googlespy

Ask Google not to translate the page
El RIDO пре 7 година
родитељ
комит
fe670dc94f
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      tpl/bootstrap.php
  2. 1 0
      tpl/page.php

+ 1 - 0
tpl/bootstrap.php

@@ -11,6 +11,7 @@ $isPage = substr($template, -5) === '-page';
 		<meta name="viewport" content="width=device-width, initial-scale=1">
 		<meta name="robots" content="noindex" />
 		<meta name="referrer" content="no-referrer">
+		<meta name="google" content="notranslate">
 		<title><?php echo I18n::_($NAME); ?></title>
 <?php
 if (!$isDark):

+ 1 - 0
tpl/page.php

@@ -6,6 +6,7 @@ use PrivateBin\I18n;
 		<meta charset="utf-8" />
 		<meta name="robots" content="noindex" />
 		<meta name="referrer" content="no-referrer">
+		<meta name="google" content="notranslate">
 		<title><?php echo I18n::_($NAME); ?></title>
 		<link type="text/css" rel="stylesheet" href="css/privatebin.css?<?php echo rawurlencode($VERSION); ?>" />
 <?php