From 715159a2d1958938eba9c8219cf454636a57c036 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Tue, 18 Feb 2020 17:50:56 +0100 Subject: [PATCH] Tweak blog social --- .../home/templates/puput/entry_page.html | 44 +++++++++---------- publichealth/static/css/modules/_blog.scss | 2 +- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/publichealth/home/templates/puput/entry_page.html b/publichealth/home/templates/puput/entry_page.html index 9c8c111..b9c5901 100644 --- a/publichealth/home/templates/puput/entry_page.html +++ b/publichealth/home/templates/puput/entry_page.html @@ -43,9 +43,11 @@ {% block blog_content %} +{% if self.categories.count > 0 %}
{% categories_list self.categories %}
+{% endif %}

{{ self.title }}

@@ -81,30 +83,26 @@ {% if self.id %}data-entry-page-update-comments-url="{% url 'entry_page_update_comments' self.id %}{% endif %}">
{{ self.body|richtext}} -
-
- - - -
- {% entry_url self blog_page as post_url %} - -
-
+
+
+ + {% entry_url self blog_page as post_url %} +
+ +
{% show_comments %} {% endblock blog_content %} diff --git a/publichealth/static/css/modules/_blog.scss b/publichealth/static/css/modules/_blog.scss index c57c9aa..1965440 100644 --- a/publichealth/static/css/modules/_blog.scss +++ b/publichealth/static/css/modules/_blog.scss @@ -142,7 +142,7 @@ span img { } .page-content .social-share-all { - margin-bottom: 25px; + margin-bottom: 0px; } .page-content .social-share-all li.social-item { display: inline-block;