fix: comments_counter was missed in single.html

This commit is contained in:
Mirus 2024-07-30 10:09:00 +03:00
parent 79a14e8187
commit d4ec9864d9
4 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,8 @@
{{- with .Params.Author -}}
<span class="post-author">{{ . }}</span>
{{- end -}}
<!-- comments counter -->
{{ partial "comments_counter.html" . }}
{{- if and (.Param "readingTime") (eq (.Param "readingTime") true) -}}
<span class="post-reading-time">{{ .ReadingTime }} {{ $.Site.Params.minuteReadingTime | default "min read" }} ({{ .WordCount }} {{ $.Site.Params.words | default "words" }})</span>
{{- end -}}

View File

@ -72,7 +72,7 @@ HERE INSERT ANY CUSTOM <script/> or <style/>
{{ if (.Params.Toc | default .Site.Params.Toc) }}
<div class="table-of-contents">
<h2>
{{ (.Params.TocTitle | default .Site.Params.TocTitle) | default "Зміст" }}
{{ (.Params.TocTitle | default .Site.Params.TocTitle) | default "Table of Contents" }}
</h2>
{{ .TableOfContents }}
</div>

View File

@ -35,5 +35,5 @@
"scripts": {
"test": "echo 'Test'"
},
"version": "1.1.1"
"version": "1.1.2"
}

View File

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