Tweak blog social
This commit is contained in:
parent
8b0d719035
commit
715159a2d1
2 changed files with 22 additions and 24 deletions
|
@ -43,9 +43,11 @@
|
|||
|
||||
{% block blog_content %}
|
||||
|
||||
{% if self.categories.count > 0 %}
|
||||
<div class="entry-categories">
|
||||
{% categories_list self.categories %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<h1 class="title">{{ self.title }}</h1>
|
||||
|
||||
|
@ -81,13 +83,14 @@
|
|||
{% if self.id %}data-entry-page-update-comments-url="{% url 'entry_page_update_comments' self.id %}{% endif %}">
|
||||
<section>
|
||||
{{ self.body|richtext}}
|
||||
</section>
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<a href="{% pageurl blog_page %}" class="blog_btn back">
|
||||
<a href="{% pageurl blog_page %}" class="blog_btn back hidden">
|
||||
<i class="fa fa-home"></i>
|
||||
</a>
|
||||
</div>
|
||||
{% entry_url self blog_page as post_url %}
|
||||
</div>
|
||||
<ul class="social-share-all text-right col-md-10">
|
||||
<li class="social-item">
|
||||
{% post_to_facebook post_url '<span><i class="fa fa-facebook"></i></span>' %}
|
||||
|
@ -98,13 +101,8 @@
|
|||
<li class="social-item">
|
||||
{% post_to_linkendin post_url '<span><i class="fa fa-linkedin"></i></span>' %}
|
||||
</li>
|
||||
<li class="social-item">
|
||||
{% post_to_gplus post_url '<span><i class="fa fa-google-plus"></i></span>' %}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
{% show_comments %}
|
||||
</article>
|
||||
{% endblock blog_content %}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue