From 919d3b5458f6b7f8323a619bcea1b0f2c03ad3f0 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 26 Dec 2014 20:18:55 -0800 Subject: [PATCH] Comments icon via CSS so it persists after Disqus JS --- sass/oscailte/base/_post.scss | 6 ++++++ source/_includes/blog/post/article.html | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sass/oscailte/base/_post.scss b/sass/oscailte/base/_post.scss index 34dbf33a453..15e3aed12f8 100644 --- a/sass/oscailte/base/_post.scss +++ b/sass/oscailte/base/_post.scss @@ -77,6 +77,12 @@ article { margin-right: 0; } } + + .comments::before { + content: "\f075"; + font-family: "FontAwesome"; + padding-right: 3px; + } } // Blog listings, index page diff --git a/source/_includes/blog/post/article.html b/source/_includes/blog/post/article.html index c6792e75fcb..0423ce6bfa3 100644 --- a/source/_includes/blog/post/article.html +++ b/source/_includes/blog/post/article.html @@ -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 %} - - Comments - + Comments {% endif %} {% endunless %}