From f3060b4474f6364537b500713c4883ddf4002d9e Mon Sep 17 00:00:00 2001 From: Alexander Jung-Loddenkemper Date: Sun, 18 Mar 2012 20:04:02 +0100 Subject: [PATCH] merged analytics and changes to make bootlex xhtml strict --- bootlex/templates/analytics.html | 22 +++++++++++++--------- bootlex/templates/article.html | 4 ++-- bootlex/templates/base.html | 18 ++++++++---------- bootlex/templates/index.html | 6 +++--- 4 files changed, 26 insertions(+), 24 deletions(-) diff --git a/bootlex/templates/analytics.html b/bootlex/templates/analytics.html index 86c297c..2d7b5f2 100644 --- a/bootlex/templates/analytics.html +++ b/bootlex/templates/analytics.html @@ -1,11 +1,15 @@ {% if GOOGLE_ANALYTICS %} - - + {% endif %} \ No newline at end of file diff --git a/bootlex/templates/article.html b/bootlex/templates/article.html index a407af8..5a533fe 100644 --- a/bootlex/templates/article.html +++ b/bootlex/templates/article.html @@ -3,9 +3,9 @@ {% block content %}
-

{{ article.title }}

+

{{ article.title }}

-

{% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

+

{% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

{{ article.content }}
diff --git a/bootlex/templates/base.html b/bootlex/templates/base.html index a48f00b..bbb8797 100644 --- a/bootlex/templates/base.html +++ b/bootlex/templates/base.html @@ -1,15 +1,16 @@ - - + {% block head %} {% block title %}{% endblock title %} - {{ SITENAME }} - - - - + + + {% endblock head %} + + {% include 'analytics.html' %} + @@ -63,7 +64,7 @@
-
+
@@ -73,8 +74,5 @@
- - {% include 'analytics.html' %} - diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html index 8e56370..9da666a 100644 --- a/bootlex/templates/index.html +++ b/bootlex/templates/index.html @@ -3,7 +3,7 @@ {% block content %}
{% block content_title %} -

Blog

+

Blog

{% endblock %}
-
+

  • {% endfor %}