From adb87583cc63ca228a6492dc641f3e1389edc629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a?= Date: Thu, 19 Jul 2018 22:23:15 +0300 Subject: html classes for better customization options --- weblog/templates/weblog/index.html | 16 ++++++++-------- weblog/templates/weblog/post.html | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'weblog/templates') diff --git a/weblog/templates/weblog/index.html b/weblog/templates/weblog/index.html index a73844f..331989b 100755 --- a/weblog/templates/weblog/index.html +++ b/weblog/templates/weblog/index.html @@ -36,14 +36,14 @@ {% for post in pinned_posts %}

{% trans 'Important post' %}

-

{{ post.title }}

-

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by {{ author }}{% endblocktrans %}{% endif %}

+

{{ post.title }}

+

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by {% endblocktrans %}{% endif %}


{% if post.preview_image %}{% endif %} {{ post.preview_text|safe }}
- {% endfor %} @@ -51,14 +51,14 @@ {% if posts %} {% for post in posts %}
-

{{ post.title }}

-

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by {{ author }}{% endblocktrans %}{% endif %}

+

{{ post.title }}

+

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by {% endblocktrans %}{% endif %}


{% if post.preview_image %}{% endif %} {{ post.preview_text|safe }}
- {% endfor %} diff --git a/weblog/templates/weblog/post.html b/weblog/templates/weblog/post.html index 0459744..623a7d1 100755 --- a/weblog/templates/weblog/post.html +++ b/weblog/templates/weblog/post.html @@ -3,8 +3,8 @@ {% block title_block %}{% if post_translation %}{{ post_translation.title }}{% else %}{{ post.title }}{% endif %}{% endblock %} {% block blog_content_block %}
-

{% if post_translation %}{{ post_translation.title }}{% else %}{{ post.title }}{% endif %}

-

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post_author %}{% blocktrans with author=post_author context 'Written by (Author)' %}, by {{ author }}{% endblocktrans %}{% endif %}

+

{% if post_translation %}{{ post_translation.title }}{% else %}{{ post.title }}{% endif %}

+

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by {% endblocktrans %}{% endif %}

{% if post_languages %}
-- cgit v1.2.3