From caacf4884836ef1384fcf0179d1decd5124d64ef Mon Sep 17 00:00:00 2001 From: Jerome Date: Mon, 15 Nov 2010 23:47:44 +0800 Subject: [PATCH] - Added configurable Google analytics template (GOOGLE_ANALYTICS='UA-XXXX-YYYY' in your settings file) --- pelican/themes/notmyidea/templates/analytics.html | 11 +++++++++++ pelican/themes/notmyidea/templates/base.html | 15 ++++++++------- 2 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 pelican/themes/notmyidea/templates/analytics.html diff --git a/pelican/themes/notmyidea/templates/analytics.html b/pelican/themes/notmyidea/templates/analytics.html new file mode 100644 index 00000000..ba174fcc --- /dev/null +++ b/pelican/themes/notmyidea/templates/analytics.html @@ -0,0 +1,11 @@ +{% if GOOGLE_ANALYTICS %} + + +{% endif %} \ No newline at end of file diff --git a/pelican/themes/notmyidea/templates/base.html b/pelican/themes/notmyidea/templates/base.html index b5a845b3..0df8a138 100644 --- a/pelican/themes/notmyidea/templates/base.html +++ b/pelican/themes/notmyidea/templates/base.html @@ -9,11 +9,11 @@ - + - + @@ -21,7 +21,7 @@ {% if GITHUB_URL %} -Fork me on GitHub +Fork me on GitHub {% endif %}