From d00c7c55360731816157aaeac452aa4f814bda01 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 21 Feb 2015 19:32:22 +0100 Subject: [PATCH] convert tab to spaces --- .../templates/djangocms_blog/base.html | 8 ++-- .../djangocms_blog/includes/blog_item.html | 6 +-- .../djangocms_blog/plugins/archive.html | 38 +++++++++---------- .../djangocms_blog/plugins/authors.html | 14 +++---- .../djangocms_blog/plugins/categories.html | 14 +++---- .../plugins/latest_entries.html | 10 ++--- .../djangocms_blog/plugins/tags.html | 14 +++---- .../templates/djangocms_blog/post_detail.html | 16 ++++---- .../templates/djangocms_blog/post_list.html | 14 +++---- 9 files changed, 67 insertions(+), 67 deletions(-) diff --git a/djangocms_blog/templates/djangocms_blog/base.html b/djangocms_blog/templates/djangocms_blog/base.html index 233092d..84c4a2b 100644 --- a/djangocms_blog/templates/djangocms_blog/base.html +++ b/djangocms_blog/templates/djangocms_blog/base.html @@ -1,13 +1,13 @@ {% extends "base.html" %} {% block meta %} - {% if meta %} - {% include "meta_mixin/meta.html" %} - {% endif %} + {% if meta %} + {% include "meta_mixin/meta.html" %} + {% endif %} {% endblock meta %} {% block content %}
- {% block content_blog %}{% endblock %} + {% block content_blog %}{% endblock %}
{% endblock content %} \ No newline at end of file diff --git a/djangocms_blog/templates/djangocms_blog/includes/blog_item.html b/djangocms_blog/templates/djangocms_blog/includes/blog_item.html index 71605a2..246aa6b 100644 --- a/djangocms_blog/templates/djangocms_blog/includes/blog_item.html +++ b/djangocms_blog/templates/djangocms_blog/includes/blog_item.html @@ -4,9 +4,9 @@

{{ post.title }}

- {% block blog_meta %} - {% include "djangocms_blog/includes/blog_meta.html" %} - {% endblock %} + {% block blog_meta %} + {% include "djangocms_blog/includes/blog_meta.html" %} + {% endblock %}
{% if image and post.main_image %}
diff --git a/djangocms_blog/templates/djangocms_blog/plugins/archive.html b/djangocms_blog/templates/djangocms_blog/plugins/archive.html index c0dc686..70f1a97 100644 --- a/djangocms_blog/templates/djangocms_blog/plugins/archive.html +++ b/djangocms_blog/templates/djangocms_blog/plugins/archive.html @@ -2,16 +2,16 @@ {% load url from future %}{% spaceless %}

{% trans "Archive" %}

- {% regroup dates by date.year as years %} - {% with current_year=year current_month=month %} - + {% endwith %}
{% endspaceless %} \ No newline at end of file diff --git a/djangocms_blog/templates/djangocms_blog/plugins/authors.html b/djangocms_blog/templates/djangocms_blog/plugins/authors.html index 6c9aa66..09276c7 100644 --- a/djangocms_blog/templates/djangocms_blog/plugins/authors.html +++ b/djangocms_blog/templates/djangocms_blog/plugins/authors.html @@ -1,19 +1,19 @@ {% load i18n thumbnail %}{% spaceless %}

{% trans "Authors" %}

-
{% endspaceless %} \ No newline at end of file diff --git a/djangocms_blog/templates/djangocms_blog/plugins/categories.html b/djangocms_blog/templates/djangocms_blog/plugins/categories.html index 9a50bfa..b19c9ca 100644 --- a/djangocms_blog/templates/djangocms_blog/plugins/categories.html +++ b/djangocms_blog/templates/djangocms_blog/plugins/categories.html @@ -2,9 +2,9 @@ {% load url from future %}{% spaceless %}

{% trans "Categories" %}

-
{% endspaceless %} \ No newline at end of file diff --git a/djangocms_blog/templates/djangocms_blog/plugins/latest_entries.html b/djangocms_blog/templates/djangocms_blog/plugins/latest_entries.html index fd700a1..726aa1d 100644 --- a/djangocms_blog/templates/djangocms_blog/plugins/latest_entries.html +++ b/djangocms_blog/templates/djangocms_blog/plugins/latest_entries.html @@ -1,11 +1,11 @@ {% load i18n %}{% spaceless %}
-
+
{% for post in posts_list %} - {% include "djangocms_blog/includes/blog_item.html" with post=post TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %} - {% empty %} -

{% trans "No article found." %}

+ {% include "djangocms_blog/includes/blog_item.html" with post=post TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %} + {% empty %} +

{% trans "No article found." %}

{% endfor %} -
+
{% endspaceless %} \ No newline at end of file diff --git a/djangocms_blog/templates/djangocms_blog/plugins/tags.html b/djangocms_blog/templates/djangocms_blog/plugins/tags.html index d45adb4..8098859 100644 --- a/djangocms_blog/templates/djangocms_blog/plugins/tags.html +++ b/djangocms_blog/templates/djangocms_blog/plugins/tags.html @@ -2,9 +2,9 @@ {% load url from future %}{% spaceless %}

{% trans "Tags" %}

-
{% endspaceless %} \ No newline at end of file diff --git a/djangocms_blog/templates/djangocms_blog/post_detail.html b/djangocms_blog/templates/djangocms_blog/post_detail.html index affa872..a8378c0 100644 --- a/djangocms_blog/templates/djangocms_blog/post_detail.html +++ b/djangocms_blog/templates/djangocms_blog/post_detail.html @@ -11,9 +11,9 @@

{% render_model post "title" %}

- {% block blog_meta %} - {% include "djangocms_blog/includes/blog_meta.html" %} - {% endblock %} + {% block blog_meta %} + {% include "djangocms_blog/includes/blog_meta.html" %} + {% endblock %}
{% if post.main_image_id %}
@@ -22,10 +22,10 @@
{% endif %} {% endspaceless %} - {% if use_placeholder %} -
{% render_placeholder post.content %}
- {% else %} -
{% render_model post "post_text" "post_text" %}
- {% endif %} + {% if use_placeholder %} +
{% render_placeholder post.content %}
+ {% else %} +
{% render_model post "post_text" "post_text" %}
+ {% endif %}
{% endblock content_blog %} diff --git a/djangocms_blog/templates/djangocms_blog/post_list.html b/djangocms_blog/templates/djangocms_blog/post_list.html index 302a548..9af3416 100644 --- a/djangocms_blog/templates/djangocms_blog/post_list.html +++ b/djangocms_blog/templates/djangocms_blog/post_list.html @@ -8,7 +8,7 @@ {% block blog_title %}

- {% if author %}{% trans "Articles by" %} {{ author.get_full_name }} + {% if author %}{% trans "Articles by" %} {{ author.get_full_name }} {% elif archive_date %}{% trans "Archive" %} – {% if month %}{{ archive_date|date:'F' }} {% endif %}{{ year }} {% elif tagged_entries %}{% trans "Tag" %} – {{ tagged_entries|capfirst }} {% elif category %}{% trans "Category" %} – {{ category }}{% endif %} @@ -16,13 +16,13 @@

{% endblock %} {% for post in post_list %} - {% include "djangocms_blog/includes/blog_item.html" with post=post image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %} - {% empty %} -

{% trans "No article found." %}

+ {% include "djangocms_blog/includes/blog_item.html" with post=post image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %} + {% empty %} +

{% trans "No article found." %}

{% endfor %} - {% if author or archive_date or tagged_entries %} -

{% trans "Back" %}

- {% endif %} + {% if author or archive_date or tagged_entries %} +

{% trans "Back" %}

+ {% endif %} {% if is_paginated %}