From 2288c393fa07b5cdcb6458bc04696287ea31143e Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Sun, 19 May 2019 15:39:52 +0200 Subject: Test Staticman --- layouts/_default/list.html | 2 +- layouts/_default/single.html | 9 ++- layouts/partials/staticman-comments.html | 123 +++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+), 4 deletions(-) create mode 100644 layouts/partials/staticman-comments.html (limited to 'layouts') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index dd70f81..c33db04 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,7 @@ {{ define "main" }}

- {{ .Title }} + {{ .Title }}

{{ end }} -
+ {{ if .Site.Params.staticman }} + {{ partial "staticman-comments.html" . }} + {{ end }} {{ if .Site.Params.comments }}