From 5ef1aeb9f6777049582b7b987a495904147bdceb Mon Sep 17 00:00:00 2001 From: Rohan Verma Date: Sat, 16 Nov 2019 18:40:21 +0530 Subject: [PATCH 1/2] 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 }} From a7531f597c8acad2a70e2a7be4f32d41accc16af Mon Sep 17 00:00:00 2001 From: Rohan Verma Date: Sat, 16 Nov 2019 19:06:10 +0530 Subject: [PATCH 2/2] fix: remove target selector style --- themes/after-dark/assets/css/theme.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/after-dark/assets/css/theme.css b/themes/after-dark/assets/css/theme.css index d7875ec..d473722 100644 --- a/themes/after-dark/assets/css/theme.css +++ b/themes/after-dark/assets/css/theme.css @@ -82,9 +82,9 @@ blockquote cite { blockquote cite::before { content: "\2014\00A0"; } -:target { +/* :target { filter: brightness(1.2); -} +} */ :disabled { cursor: not-allowed; }