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) The MIT License (MIT)
Copyright (c) 2019 panr Copyright (c) 2019 panr
Copyright (c) 2024 Mirus
Permission is hereby granted, free of charge, to any person obtaining a copy of 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 this software and associated documentation files (the "Software"), to deal in

View File

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

View File

@ -19,6 +19,8 @@
{{- with .Params.Author -}} {{- with .Params.Author -}}
<span class="post-author">{{- . -}}</span> <span class="post-author">{{- . -}}</span>
{{- end -}} {{- end -}}
<!-- comments counter -->
{{ partial "comments_counter.html" . }}
</div> </div>
{{ if .Params.tags }} {{ 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": [ "browserslist": [
"last 2 versions", "last 2 versions",
">1%", ">1%",
@ -35,5 +35,5 @@
"scripts": { "scripts": {
"test": "echo 'Test'" "test": "echo 'Test'"
}, },
"version": "2.1.0" "version": "1.1.1"
} }

View File

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