Skip to content

Commit

Permalink
add counter
Browse files Browse the repository at this point in the history
  • Loading branch information
22mahmoud committed Nov 17, 2023
1 parent afff6e6 commit 8d8b2f4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
site_id: 'maw',
theme: 'dark',
no_footer: true,
simple_view: true
simple_view: true,
components: ['counter', 'embed'],
}
</script>
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
Expand Down Expand Up @@ -339,7 +340,9 @@
$if(date)$
<div>
<time datetime="$date$">$date$</time>
<a href="#remark42" style="display: block">leave a comment</a>
<a href="#remark42" style="display: block">leave a comment (<span
class="remark42__counter"
></span>) </a>
</div>
$endif$

Expand Down

0 comments on commit 8d8b2f4

Please sign in to comment.