diff --git a/mkdocs.yml b/mkdocs.yml index 65940a5d..f0d5a36c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -13,3 +13,6 @@ pages: theme: 'mkdocs' theme_center_lead: true + +copyright: Copyright © 2014, Tom Christie. +google_analytics: ['example', 'foo'] diff --git a/mkdocs/__init__.py b/mkdocs/__init__.py index 58d168b0..5a6f84c5 100644 --- a/mkdocs/__init__.py +++ b/mkdocs/__init__.py @@ -1 +1 @@ -__version__ = '0.4' +__version__ = '0.5' diff --git a/mkdocs/themes/mkdocs/base.html b/mkdocs/themes/mkdocs/base.html index b73b1ac0..497a547e 100644 --- a/mkdocs/themes/mkdocs/base.html +++ b/mkdocs/themes/mkdocs/base.html @@ -23,14 +23,26 @@ - {% if config.theme_center_lead %} + {% if config.google_analytics %} + + {% endif %} + + {% if config.theme_center_lead + or current_page.is_homepage and config.theme_center_homepage_lead %}