diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index dff89c14..167729e3 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -159,7 +159,7 @@ sharing = true engine = 0 # Which page types are commentable? - commentable = {page = true, post = true, docs = true} + commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true} # Configuration of Disqus. [comments.disqus] diff --git a/layouts/project/single.html b/layouts/project/single.html index c74e9e9a..a06de1d7 100644 --- a/layouts/project/single.html +++ b/layouts/project/single.html @@ -13,6 +13,8 @@ {{ partial "tags.html" . }} {{ partial "page_author.html" . }} + {{ partial "comments" . }} + {{ $page := . }} {{ $project := .File.ContentBaseName }} diff --git a/layouts/publication/single.html b/layouts/publication/single.html index b1550516..14fe724f 100644 --- a/layouts/publication/single.html +++ b/layouts/publication/single.html @@ -53,6 +53,8 @@ {{ partial "tags.html" . }} {{ partial "page_author.html" . }} + {{ partial "comments" . }} + diff --git a/layouts/talk/single.html b/layouts/talk/single.html index fccb9861..622975df 100644 --- a/layouts/talk/single.html +++ b/layouts/talk/single.html @@ -66,6 +66,8 @@ {{ partial "tags.html" . }} {{ partial "page_author.html" . }} + {{ partial "comments" . }} +