From 5ef1aeb9f6777049582b7b987a495904147bdceb Mon Sep 17 00:00:00 2001 From: Rohan Verma Date: Sat, 16 Nov 2019 18:40:21 +0530 Subject: [PATCH] feat: commento --- config.toml | 2 +- layouts/partials/post/comment.html | 2 ++ layouts/post/single.html | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/post/comment.html diff --git a/config.toml b/config.toml index 6c074da..a10b630 100644 --- a/config.toml +++ b/config.toml @@ -25,7 +25,7 @@ footnoteReturnLinkContents = "↩" # Provides a nicer footnote return link author = "Rohan Verma" # Optional, controls author name display on posts hide_author = false # Optional, set true to hide author name on posts has_cookies = true # Optional, set true to disable cookie disclaimer - disable_csp = false # Optional, set true to disable content security policy + disable_csp = true # Optional, set true to disable content security policy images = [ "https://rohanverma.net/wp-content/uploads/avatar.jpg" ] # Suggested, controls default Open Graph images diff --git a/layouts/partials/post/comment.html b/layouts/partials/post/comment.html new file mode 100644 index 0000000..5cc3df5 --- /dev/null +++ b/layouts/partials/post/comment.html @@ -0,0 +1,2 @@ +
+ \ No newline at end of file diff --git a/layouts/post/single.html b/layouts/post/single.html index b2913fa..484d5a3 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -46,6 +46,7 @@ along with this program. If not, see .
{{ partial "post/byline.html" . }} {{ partial "post/related-content.html" . }} + {{ partial "post/comment.html" . }} {{ end }}