Comments icon via CSS so it persists after Disqus JS
This commit is contained in:
parent
41c6bd2979
commit
919d3b5458
2 changed files with 9 additions and 3 deletions
|
@ -77,6 +77,12 @@ article {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.comments::before {
|
||||||
|
content: "\f075";
|
||||||
|
font-family: "FontAwesome";
|
||||||
|
padding-right: 3px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blog listings, index page
|
// Blog listings, index page
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
{% include post/time_to_read.html %}
|
{% include post/time_to_read.html %}
|
||||||
{% include blog/post/tags.html %}
|
{% include blog/post/tags.html %}
|
||||||
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
|
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
|
||||||
<a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">
|
<a class='comments'
|
||||||
<i class="icon-comment"></i> Comments
|
href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread"
|
||||||
</a>
|
>Comments</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue