From fae035dd6d97a39de92da59c009b280d437c8523 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Sun, 14 Sep 2025 19:22:02 +0100 Subject: [PATCH] Add comments Signed-off-by: Nikolaos Karaolidis --- layouts/_default/single.html | 5 +++++ layouts/partials/comments.html | 0 2 files changed, 5 insertions(+) create mode 100644 layouts/partials/comments.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 30690ad..8dddf30 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,6 +4,11 @@
{{ .Content }}
+ + {{ if (default true .Params.comments) }} + {{ partial "comments.html" . }} + {{ end }} + {{ partial "components/postnav/index.html" . }} {{ end }} diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..e69de29