Skip to content

Commit

Permalink
consent
Browse files Browse the repository at this point in the history
  • Loading branch information
sealrealize committed Jan 14, 2024
1 parent ce0f09b commit 225145c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 81 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugomodo-cookie-consent"]
path = themes/hugomodo-cookie-consent
url = https://github.com/hugomodo/hugomodo-cookie-consent.git
10 changes: 5 additions & 5 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ disableTextInHeader = false
# domain = "llama.yoursite.com"

[buymeacoffee]
#identifier = ""
#globalWidget = true
#globalWidgetMessage = "Hello"
#globalWidgetColor = "#FFDD00"
#globalWidgetPosition = "Right"
#identifier = ""
globalWidget = true
globalWidgetMessage = "Cookie consent. This site is not gathering cookies"
#globalWidgetColor = "#FFDD00"
globalWidgetPosition = "Right"

[verification]
# google = ""
Expand Down
1 change: 1 addition & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -685,3 +685,4 @@ data: {
{{< /rawhtml >}}



3 changes: 0 additions & 3 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
{{- partial "search.html" . -}}
{{ end }}
</div>
{{ if hugo.IsProduction }}
{{ partial "cookie-notice.html" }}
{{ end }}
</body>
{{ if .Site.Params.buymeacoffee.globalWidget | default false }}
<script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js"
Expand Down
11 changes: 0 additions & 11 deletions layouts/partials/cookie-notice.html

This file was deleted.

49 changes: 0 additions & 49 deletions static/my_css/cookie.css

This file was deleted.

13 changes: 0 additions & 13 deletions static/my_js/cookie.js

This file was deleted.

0 comments on commit 225145c

Please sign in to comment.