From ebceb6857ceb496657257762b54b39966b6f554d Mon Sep 17 00:00:00 2001 From: panr Date: Fri, 1 Feb 2019 15:06:59 +0100 Subject: [PATCH] Add comment section option --- layouts/_default/single.html | 4 +++- layouts/partials/comments.html | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/comments.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7e0c07b..0b234b4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -49,5 +49,7 @@ {{ end }} - + + {{ partial "comments.html" . }} + {{ end }} diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html new file mode 100644 index 0000000..b891ecf --- /dev/null +++ b/layouts/partials/comments.html @@ -0,0 +1,8 @@ +