Merge branch 'dev-comments-counter' of rajukottedi/chirpy-blogging into dev
This commit is contained in:
commit
42c7da8e74
@ -57,6 +57,7 @@ post:
|
||||
updated: Updated
|
||||
views: Views
|
||||
likes: Likes
|
||||
comments: Comments
|
||||
words: words
|
||||
pageview_measure: views
|
||||
read_time:
|
||||
|
||||
3
_includes/comments-counter.html
Normal file
3
_includes/comments-counter.html
Normal file
@ -0,0 +1,3 @@
|
||||
<i class="fa fa-comment" {% if include.tooltip %} title="{{site.data.locales[include.lang].post.comments}}"
|
||||
data-bs-toggle="tooltip" data-bs-placement="bottom" {% endif %}></i>
|
||||
<em class="remark42__counter"></em>
|
||||
@ -21,7 +21,7 @@
|
||||
s.defer = true;
|
||||
(d.head || d.body).appendChild(s);
|
||||
}
|
||||
})(remark_config.components || ['embed']);
|
||||
})(remark_config.components || ['embed', 'counter']);
|
||||
|
||||
var targetDiv = document.getElementById("sidebar").getElementsByClassName("mode-toggle")[0];
|
||||
|
||||
|
||||
@ -35,7 +35,9 @@ tail_includes:
|
||||
<!-- post counter -->
|
||||
<div id="likes-views">
|
||||
{% include likes-views.html tooltip=true lang=lang %}
|
||||
{% include comments-counter.html tooltip=true lang=lang %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% if page.image %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user