diff --git a/README.md b/README.md index f6eeaa8c..7b296592 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ Paige is designed to put your content front and center, avoiding the typical clu - Bootstrap styles and icons - Categories - Code shortcode -- Comments - Customizable - Dark color scheme - Email shortcode @@ -193,43 +192,6 @@ style = "" # CSS included at the end of the stylesheet, before style-last.css message = "Alert!" # Markdown displayed before the page body type = "primary" # Bootstrap alert class -[paige.comments] -disable = false # Disable all comments -disable_kinds = [] # Page kinds to disable comments for. Examples: ["list"], ["page", "term"]. - -[paige.comments.cactus] # See https://cactus.chat -site_name = "" - -[paige.comments.commento] # See https://commento.io -script_url = "" - -[paige.comments.cusdis] # See https://cusdis.com -app_id = "" -host_url = "" - -[paige.comments.graphcomment] # See https://graphcomment.com -account_id = "" - -[paige.comments.hyvor] # See https://hyvor.com -website = "" - -[paige.comments.intensedebate] # See https://intensedebate.com -account_id = "" - -[paige.comments.isso] # See https://isso-comments.de -script_url = "" - -[paige.comments.remark42] # See https://remark42.com -host_url = "" -site_id = "" - -[paige.comments.replybox] # See https://getreplybox.com -site = "" - -[paige.comments.utterances] # See https://utteranc.es -repo = "" -theme = "" - [paige.feeds] exclude = false # Exclude this page from feeds link_to_page = false # Link to the page instead of the front matter link, if present @@ -1066,8 +1028,6 @@ Page identifiers:
The site collection pages.
#paige-collections-header
The site collection pages header.
-
#paige-comments
-
The page comments.
#paige-content
The page content.
#paige-copyright
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 42a8ae1e..60910c1e 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,5 +3,4 @@ {{ partial "paige/page.html" $page }} {{ partial "paige/list.html" $page }} -{{ partial "paige/comments.html" $page }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 07322109..56ec7e69 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,5 +2,4 @@ {{ $page := . }} {{ partial "paige/page.html" $page }} -{{ partial "paige/comments.html" $page }} {{ end }} diff --git a/layouts/partials/paige/comments.html b/layouts/partials/paige/comments.html deleted file mode 100644 index 10ddfd9e..00000000 --- a/layouts/partials/paige/comments.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ $page := . }} - -{{ $enabled := $page.Param "paige.comments.disable" | not }} -{{ $disabledKinds := $page.Param "paige.comments.disable_kinds" }} - -{{ $enabledKind := or (not $disabledKinds) (not (in $disabledKinds $page.Kind)) }} - -{{ if and $enabled $enabledKind }} - {{ template "_internal/disqus.html" $page }} - {{ partial "paige/comments/cactus.html" $page }} - {{ partial "paige/comments/commento.html" $page }} - {{ partial "paige/comments/cusdis.html" $page }} - {{ partial "paige/comments/graphcomment.html" $page }} - {{ partial "paige/comments/hyvor.html" $page }} - {{ partial "paige/comments/intensedebate.html" $page }} - {{ partial "paige/comments/isso.html" $page }} - {{ partial "paige/comments/remark42.html" $page }} - {{ partial "paige/comments/replybox.html" $page }} - {{ partial "paige/comments/utterances.html" $page }} -{{ end }} diff --git a/layouts/partials/paige/comments/cactus.html b/layouts/partials/paige/comments/cactus.html deleted file mode 100644 index 434686b4..00000000 --- a/layouts/partials/paige/comments/cactus.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.cactus" }} -
- - -
- - -
-{{ end }} diff --git a/layouts/partials/paige/comments/commento.html b/layouts/partials/paige/comments/commento.html deleted file mode 100644 index 781f1012..00000000 --- a/layouts/partials/paige/comments/commento.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.commento" }} -
-
- - -
-{{ end }} diff --git a/layouts/partials/paige/comments/cusdis.html b/layouts/partials/paige/comments/cusdis.html deleted file mode 100644 index 47585653..00000000 --- a/layouts/partials/paige/comments/cusdis.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.cusdis" }} -
- -{{ end }} diff --git a/layouts/partials/paige/comments/graphcomment.html b/layouts/partials/paige/comments/graphcomment.html deleted file mode 100644 index 19f11042..00000000 --- a/layouts/partials/paige/comments/graphcomment.html +++ /dev/null @@ -1,24 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.graphcomment" }} -
-
- - -
-{{ end }} diff --git a/layouts/partials/paige/comments/hyvor.html b/layouts/partials/paige/comments/hyvor.html deleted file mode 100644 index fdb194b8..00000000 --- a/layouts/partials/paige/comments/hyvor.html +++ /dev/null @@ -1,16 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.hyvor" }} -
-
- - - -
-{{ end }} diff --git a/layouts/partials/paige/comments/intensedebate.html b/layouts/partials/paige/comments/intensedebate.html deleted file mode 100644 index c0b0b8ca..00000000 --- a/layouts/partials/paige/comments/intensedebate.html +++ /dev/null @@ -1,14 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.intensedebate" }} -
- - - - -
-{{ end }} diff --git a/layouts/partials/paige/comments/isso.html b/layouts/partials/paige/comments/isso.html deleted file mode 100644 index 283314b2..00000000 --- a/layouts/partials/paige/comments/isso.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.isso" }} -
- -
- -
-
-{{ end }} diff --git a/layouts/partials/paige/comments/remark42.html b/layouts/partials/paige/comments/remark42.html deleted file mode 100644 index b1d3198b..00000000 --- a/layouts/partials/paige/comments/remark42.html +++ /dev/null @@ -1,15 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.remark42" }} -
-
- - - -
-{{ end }} diff --git a/layouts/partials/paige/comments/replybox.html b/layouts/partials/paige/comments/replybox.html deleted file mode 100644 index b02904e5..00000000 --- a/layouts/partials/paige/comments/replybox.html +++ /dev/null @@ -1,15 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.replybox" }} -
-
- - - -
-{{ end }} diff --git a/layouts/partials/paige/comments/utterances.html b/layouts/partials/paige/comments/utterances.html deleted file mode 100644 index f19fe27c..00000000 --- a/layouts/partials/paige/comments/utterances.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ $page := . }} - -{{ with $page.Param "paige.comments.utterances" }} -
- - -
-{{ end }} diff --git a/theme.toml b/theme.toml index 7f145313..3280e61a 100644 --- a/theme.toml +++ b/theme.toml @@ -8,7 +8,6 @@ features = [ "bootstrap styles and icons", "categories", "code shortcode", - "comments", "customizable", "dark color scheme", "email shortcode",