From: Graham Percival Date: Fri, 25 Jun 2010 22:32:21 +0000 (+0100) Subject: Web build: add google tracking. X-Git-Tag: release/2.13.26-1~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=686af3771c796883db6f216c02c3ba1fc80e6fae;p=lilypond.git Web build: add google tracking. --- diff --git a/scripts/build/website_post.py b/scripts/build/website_post.py index f27b5786f6..f2d7931a00 100644 --- a/scripts/build/website_post.py +++ b/scripts/build/website_post.py @@ -177,6 +177,17 @@ for file in html_files: if (link.endswith(".pdf")): langlink = addLangExt(link[:-4], lang, "pdf") line = line.replace(link, langlink) + ### add google tracker header + if (line.find("") >= 0): + outfile.write(""" + + +"""); ### add language selection footer if (line.find("
") >= 0): outfile.write("
\n")