fix: add support of comments_counter addon to more places

This commit is contained in:
Mirus 2024-07-30 10:01:20 +03:00
parent cf87ac2142
commit 79a14e8187
5 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,7 @@
The MIT License (MIT)
Copyright (c) 2019 panr
Copyright (c) 2024 Mirus
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

View File

@ -29,6 +29,8 @@
{{- with .Params.Author -}}
<span class="post-author">{{ . }}</span>
{{- end -}}
<!-- comments counter -->
{{ partial "comments_counter.html" . }}
</div>
{{ if .Params.tags }}

View File

@ -19,6 +19,8 @@
{{- with .Params.Author -}}
<span class="post-author">{{- . -}}</span>
{{- end -}}
<!-- comments counter -->
{{ partial "comments_counter.html" . }}
</div>
{{ if .Params.tags }}

View File

@ -1,5 +1,5 @@
{
"author": "Radosław Kozieł <@panr> <radoslaw.koziel@gmail.com>",
"author": "Mirus <@mirus-ua> <mirusim@gmail.com>",
"browserslist": [
"last 2 versions",
">1%",
@ -35,5 +35,5 @@
"scripts": {
"test": "echo 'Test'"
},
"version": "2.1.0"
"version": "1.1.1"
}

View File

@ -1,6 +1,6 @@
{
"name": "re-terminal",
"version": "1.0.0",
"version": "1.1.1",
"author": "Mirus <@mirus-ua> <mirusim@gmail.com>",
"main": "index.js",
"license": "MIT",