From 6c0150ce773e764c8775e6b2a37bcd4132da3127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Raimbault?= Date: Fri, 6 Apr 2012 01:47:30 +0200 Subject: Trailing whitespaces cleanup in bootstrap2 --- bootstrap2/templates/article.html | 70 ++++++++++++++-------------- bootstrap2/templates/article_infos.html | 6 +-- bootstrap2/templates/base.html | 66 ++++++++++++--------------- bootstrap2/templates/comments.html | 2 +- bootstrap2/templates/index.html | 78 ++++++++++++++++---------------- bootstrap2/templates/page.html | 16 +++---- bootstrap2/templates/search_sidebar.html | 4 +- bootstrap2/templates/taglist.html | 2 +- bootstrap2/templates/twitter.html | 2 +- 9 files changed, 120 insertions(+), 126 deletions(-) (limited to 'bootstrap2/templates') diff --git a/bootstrap2/templates/article.html b/bootstrap2/templates/article.html index 8b9e0ab..638655c 100644 --- a/bootstrap2/templates/article.html +++ b/bootstrap2/templates/article.html @@ -1,40 +1,40 @@ {% extends "base.html" %} {% block title %}{{ article.title }}{% endblock %} {% block content %} -
-
-
-

- - {{ article.title}} - - {% include 'twitter.html' %} -

-
-
-
- {% include 'article_infos.html' %} -
- {{ article.content }} -
- {% if DISQUS_SITENAME %} -
-

Comments !

-
- -
- {% endif %} -
+
+
+
+

+ + {{ article.title}} + + {% include 'twitter.html' %} +

+
+
+
+ {% include 'article_infos.html' %} +
+ {{ article.content }} +
+ {% if DISQUS_SITENAME %} +
+

Comments !

+
+ +
+ {% endif %} +
{% endblock %} diff --git a/bootstrap2/templates/article_infos.html b/bootstrap2/templates/article_infos.html index 0a6ce7a..a720b96 100644 --- a/bootstrap2/templates/article_infos.html +++ b/bootstrap2/templates/article_infos.html @@ -1,21 +1,21 @@ diff --git a/bootstrap2/templates/base.html b/bootstrap2/templates/base.html index 3e42e65..0eb0e40 100644 --- a/bootstrap2/templates/base.html +++ b/bootstrap2/templates/base.html @@ -17,27 +17,22 @@ .sidebar-nav { padding: 9px 0; } - - .tag-1 { - font-size: 13pt; - } - - .tag-2 { - font-size: 10pt; - } - - .tag-2 { - font-size: 8pt; - } - - .tag-4 { - font-size: 6pt; - } - + .tag-1 { + font-size: 13pt; + } + .tag-2 { + font-size: 10pt; + } + .tag-2 { + font-size: 8pt; + } + .tag-4 { + font-size: 6pt; + } - - + + @@ -78,20 +73,20 @@ {% for page in PAGES %}
  • {{ page.title }}
  • {% endfor %} -
  • +
  • {% endif %} {% for cat, null in categories %}
  • - {{ cat }} - + {{ cat }} +
  • {% endfor %} - - - + + + @@ -105,8 +100,8 @@ {% block content %} {% endblock %} - - @@ -129,7 +124,7 @@ {% include 'analytics.html' %} {% include 'piwik.html' %} - {% include 'disqus_script.html' %} + {% include 'disqus_script.html' %} + + - diff --git a/bootstrap2/templates/comments.html b/bootstrap2/templates/comments.html index 806d9a0..8d25e1e 100644 --- a/bootstrap2/templates/comments.html +++ b/bootstrap2/templates/comments.html @@ -1,5 +1,5 @@ {% if DISQUS_SITENAME %} -

    There are +

    There are comments . diff --git a/bootstrap2/templates/index.html b/bootstrap2/templates/index.html index f1a75d9..db92ac6 100644 --- a/bootstrap2/templates/index.html +++ b/bootstrap2/templates/index.html @@ -1,47 +1,47 @@ {% extends "base.html" %} {% block content_title %}{% endblock %} -{% block content %} +{% block content %} {% if articles %} - {% for article in (articles_page.object_list if articles_page else articles) %} -

    -

    {{ article.title }}

    -
    {% include "article_infos.html" %}
    -
    {{ article.summary }} - more ... -
    -
    -
    - {% endfor %} -{%endif%} + {% for article in (articles_page.object_list if articles_page else articles) %} +
    +

    {{ article.title }}

    +
    {% include "article_infos.html" %}
    +
    {{ article.summary }} + more ... +
    +
    +
    + {% endfor %} +{% endif %} - {% if articles_page and articles_paginator.num_pages > 1 %} - + {% if articles_page and articles_paginator.num_pages > 1 %} + {% else %} - {% if PAGES %} -
    -

    Pages

    - {% for page in PAGES %} -
  • {{ page.title }}
  • - {% endfor %} -
    - {% endif %} + {% if PAGES %} +
    +

    Pages

    + {% for page in PAGES %} +
  • {{ page.title }}
  • + {% endfor %} +
    + {% endif %} {% endif %} {% endblock content %} diff --git a/bootstrap2/templates/page.html b/bootstrap2/templates/page.html index 8d51188..223b52c 100644 --- a/bootstrap2/templates/page.html +++ b/bootstrap2/templates/page.html @@ -1,13 +1,13 @@ {% extends "base.html" %} {% block title %}{{ page.title }}{% endblock %} {% block content %} -
    -

    {{ page.title }}

    - {% if PDF_PROCESSOR %} - - get the pdf - - {% endif %} - {{ page.content }} +
    +

    {{ page.title }}

    + {% if PDF_PROCESSOR %} + + get the pdf + + {% endif %} + {{ page.content }}
    {% endblock %} diff --git a/bootstrap2/templates/search_sidebar.html b/bootstrap2/templates/search_sidebar.html index 00c81e3..24fdaad 100644 --- a/bootstrap2/templates/search_sidebar.html +++ b/bootstrap2/templates/search_sidebar.html @@ -2,7 +2,7 @@
    Loading
    - -{% endif %} \ No newline at end of file +{% endif %} diff --git a/bootstrap2/templates/taglist.html b/bootstrap2/templates/taglist.html index c87ec0e..b553f7f 100644 --- a/bootstrap2/templates/taglist.html +++ b/bootstrap2/templates/taglist.html @@ -1,5 +1,5 @@ {% if article.tags %} -Tags +Tags {% for tag in article.tags %} {{ tag }} {% endfor %} diff --git a/bootstrap2/templates/twitter.html b/bootstrap2/templates/twitter.html index b758853..ada18ff 100644 --- a/bootstrap2/templates/twitter.html +++ b/bootstrap2/templates/twitter.html @@ -1,5 +1,5 @@ {% if TWITTER_USERNAME %} - -- cgit v1.1