mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Comments icon via CSS so it persists after Disqus JS
This commit is contained in:
parent
41c6bd2979
commit
919d3b5458
@ -77,6 +77,12 @@ article {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.comments::before {
|
||||
content: "\f075";
|
||||
font-family: "FontAwesome";
|
||||
padding-right: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
// Blog listings, index page
|
||||
|
@ -14,9 +14,9 @@
|
||||
{% include post/time_to_read.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 %}
|
||||
<a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">
|
||||
<i class="icon-comment"></i> Comments
|
||||
</a>
|
||||
<a class='comments'
|
||||
href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread"
|
||||
>Comments</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user