From cb68e3cffda93335ea7c1013e6e025da1febeb25 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 23 Oct 2021 22:51:13 -0500 Subject: [PATCH] Support comments --- layouts/_default/single.html | 2 ++ layouts/partials/comments.html | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 layouts/partials/comments.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5664e9a..58c7b95 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -41,4 +41,6 @@ {{ end }} +{{ partial "comments.html" . }} + {{ end }} diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..2b20747 --- /dev/null +++ b/layouts/partials/comments.html @@ -0,0 +1,4 @@ +{{/* + Create a file named `layouts/partials/comments.html` at your site root to + add a comment system. Page variables are passed. +*/}}