Rename analytics, comments disabled to disable
This commit is contained in:
@@ -170,7 +170,7 @@ math = false # Enable math typesetting
|
||||
style = "" # CSS included at the end of the stylesheet, before style-last.css
|
||||
|
||||
[paige.analytics]
|
||||
disabled = false # Disable all analytics
|
||||
disable = false # Disable all analytics
|
||||
|
||||
[paige.analytics.chartbeat] # See https://chartbeat.com
|
||||
account_id = ""
|
||||
@@ -206,7 +206,7 @@ domain = ""
|
||||
account_id = ""
|
||||
|
||||
[paige.comments]
|
||||
disabled = false # Disable all comments
|
||||
disable = false # Disable all comments
|
||||
|
||||
[paige.comments.cactus] # See https://cactus.chat
|
||||
account_id = ""
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ if $page.Param "paige.analytics.disabled" | not }}
|
||||
{{ if $page.Param "paige.analytics.disable" | not }}
|
||||
{{ partial "paige/analytics/beam.html" $page }}
|
||||
{{ partial "paige/analytics/chartbeat.html" $page }}
|
||||
{{ partial "paige/analytics/clarity.html" $page }}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ if $page.Param "paige.comments.disabled" | not }}
|
||||
{{ if $page.Param "paige.comments.disable" | not }}
|
||||
{{ template "_internal/disqus.html" $page }}
|
||||
{{ partial "paige/comments/cactus.html" $page }}
|
||||
{{ partial "paige/comments/commento.html" $page }}
|
||||
|
Reference in New Issue
Block a user