This commit is contained in:
n1474335 2017-09-07 10:14:10 +00:00 committed by GitHub
commit 459f637725
3 changed files with 19 additions and 0 deletions

View file

@ -323,6 +323,11 @@ module.exports = function (grunt) {
// Add Google Analytics code to index.html
content = content.replace("</body></html>",
grunt.file.read("src/web/static/ga.html") + "</body></html>");
// Add Google Translate code to index.html
content = content.replace("<!-- Google Translate placeholder -->",
grunt.file.read("src/web/static/gt.html"));
return grunt.template.process(content);
}
},