mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +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;
|
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…
x
Reference in New Issue
Block a user