From 79a14e8187129638129ab0dd86d21c8de08a4d61 Mon Sep 17 00:00:00 2001 From: Mirus Date: Tue, 30 Jul 2024 10:01:20 +0300 Subject: [PATCH] fix: add support of comments_counter addon to more places --- LICENSE.md | 1 + layouts/_default/index.html | 2 ++ layouts/_default/list.html | 2 ++ package.hugo.json | 4 ++-- package.json | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 770457f..00eac84 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -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 diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 18bb51e..f7669d1 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -29,6 +29,8 @@ {{- with .Params.Author -}} {{ . }} {{- end -}} + + {{ partial "comments_counter.html" . }} {{ if .Params.tags }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0696b0a..d0ebaae 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -19,6 +19,8 @@ {{- with .Params.Author -}} {{- . -}} {{- end -}} + + {{ partial "comments_counter.html" . }} {{ if .Params.tags }} diff --git a/package.hugo.json b/package.hugo.json index 8203262..d027a10 100644 --- a/package.hugo.json +++ b/package.hugo.json @@ -1,5 +1,5 @@ { - "author": "Radosław Kozieł <@panr> ", + "author": "Mirus <@mirus-ua> ", "browserslist": [ "last 2 versions", ">1%", @@ -35,5 +35,5 @@ "scripts": { "test": "echo 'Test'" }, - "version": "2.1.0" + "version": "1.1.1" } diff --git a/package.json b/package.json index 7eca391..e3a488c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "re-terminal", - "version": "1.0.0", + "version": "1.1.1", "author": "Mirus <@mirus-ua> ", "main": "index.js", "license": "MIT",