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 %}
|
{% block blog_content %}
|
||||||
|
|
||||||
|
{% if self.categories.count > 0 %}
|
||||||
<div class="entry-categories">
|
<div class="entry-categories">
|
||||||
{% categories_list self.categories %}
|
{% categories_list self.categories %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<h1 class="title">{{ self.title }}</h1>
|
<h1 class="title">{{ self.title }}</h1>
|
||||||
|
|
||||||
|
@ -81,30 +83,26 @@
|
||||||
{% if self.id %}data-entry-page-update-comments-url="{% url 'entry_page_update_comments' self.id %}{% endif %}">
|
{% if self.id %}data-entry-page-update-comments-url="{% url 'entry_page_update_comments' self.id %}{% endif %}">
|
||||||
<section>
|
<section>
|
||||||
{{ self.body|richtext}}
|
{{ self.body|richtext}}
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-2">
|
|
||||||
<a href="{% pageurl blog_page %}" class="blog_btn back">
|
|
||||||
<i class="fa fa-home"></i>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{% entry_url self blog_page as post_url %}
|
|
||||||
<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>' %}
|
|
||||||
</li>
|
|
||||||
<li class="social-item">
|
|
||||||
{% post_to_twitter self.title post_url '<span><i class="fa fa-twitter"></i></span>' %}
|
|
||||||
</li>
|
|
||||||
<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>
|
</section>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-2">
|
||||||
|
<a href="{% pageurl blog_page %}" class="blog_btn back hidden">
|
||||||
|
<i class="fa fa-home"></i>
|
||||||
|
</a>
|
||||||
|
{% 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>' %}
|
||||||
|
</li>
|
||||||
|
<li class="social-item">
|
||||||
|
{% post_to_twitter self.title post_url '<span><i class="fa fa-twitter"></i></span>' %}
|
||||||
|
</li>
|
||||||
|
<li class="social-item">
|
||||||
|
{% post_to_linkendin post_url '<span><i class="fa fa-linkedin"></i></span>' %}
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
{% show_comments %}
|
{% show_comments %}
|
||||||
</article>
|
</article>
|
||||||
{% endblock blog_content %}
|
{% endblock blog_content %}
|
||||||
|
|
|
@ -142,7 +142,7 @@ span img {
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content .social-share-all {
|
.page-content .social-share-all {
|
||||||
margin-bottom: 25px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
.page-content .social-share-all li.social-item {
|
.page-content .social-share-all li.social-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Reference in a new issue