From 0452ae8865c97327dbc5b1559453210e464c5e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sat, 6 Oct 2018 22:05:56 +0300 Subject: main css --- weblog/templates/weblog/index.html | 4 ++-- weblog/templates/weblog/post.html | 2 +- weblog/templates/weblog/weblog.html | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'weblog/templates') diff --git a/weblog/templates/weblog/index.html b/weblog/templates/weblog/index.html index 077fc1f..8dc1d93 100755 --- a/weblog/templates/weblog/index.html +++ b/weblog/templates/weblog/index.html @@ -34,7 +34,7 @@ {% if posts or pinned_posts %} {% if pinned_posts %} {% 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 {% endblocktrans %}{% endif %}

@@ -50,7 +50,7 @@ {% endif %} {% 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 {% endblocktrans %}{% endif %}


diff --git a/weblog/templates/weblog/post.html b/weblog/templates/weblog/post.html index dfa5c6e..b92d43c 100755 --- a/weblog/templates/weblog/post.html +++ b/weblog/templates/weblog/post.html @@ -2,7 +2,7 @@ {% load i18n %} {% 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 {% endblocktrans %}{% endif %}

{% if post_languages %} diff --git a/weblog/templates/weblog/weblog.html b/weblog/templates/weblog/weblog.html index e24c918..a9acbdf 100755 --- a/weblog/templates/weblog/weblog.html +++ b/weblog/templates/weblog/weblog.html @@ -15,13 +15,13 @@ {% endif %} -
-
+
+
{% block blog_content_block %} {% endblock %}
{% if show_sidebar %} -
+
{% if show_categories %} {% if category %} {% if category == 'misc' %} -- cgit v1.2.3