Start setting up matomo config
This commit is contained in:
parent
322b04b15a
commit
c71969df40
|
@ -4,3 +4,6 @@
|
|||
[submodule "themes/hugo-PaperMod"]
|
||||
path = themes/hugo-PaperMod
|
||||
url = https://github.com/adityatelange/hugo-PaperMod
|
||||
[submodule "themes/matomo"]
|
||||
path = themes/matomo
|
||||
url = https://github.com/holehan/hugo-components-matomo.git
|
||||
|
|
13
config.yml
13
config.yml
|
@ -3,7 +3,7 @@ languageCode: en-au
|
|||
title: "mattcen's mumblings"
|
||||
copyright: Matt Cengia
|
||||
description: 'Words from a queer, feminist Linux sysadmin/dev/advocate and geek.'
|
||||
theme: ananke
|
||||
theme: [ananke, matomo]
|
||||
#theme: hugo-PaperMod
|
||||
sectionPagesMenu: main
|
||||
|
||||
|
@ -52,6 +52,17 @@ params:
|
|||
- name: rss
|
||||
url: /posts/index.xml
|
||||
- name: facebook
|
||||
matomo:
|
||||
url: "https://example.org"
|
||||
id: 1
|
||||
track:
|
||||
button: "Allow tracking"
|
||||
message: "You are being watched. The government has a secret system, a machine that spies on you"
|
||||
block:
|
||||
button: "Disallow tracking"
|
||||
message: "You are **not** tracked."
|
||||
#disableSRI: true
|
||||
|
||||
# Config for hugo-PaperMod theme
|
||||
#showShareButtons: true
|
||||
#socialIcons:
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: Privacy
|
||||
author: mattcen
|
||||
type: page
|
||||
date: 2022-04-14T14:20:36+10:00
|
||||
---
|
||||
|
||||
Privacy policy here
|
||||
{{< matomo-optout >}}
|
|
@ -0,0 +1,9 @@
|
|||
<footer class="{{ .Site.Params.background_color_class | default "bg-black" }} bottom-0 w-100 pa3" role="contentinfo">
|
||||
<div class="flex justify-between">
|
||||
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="{{ .Site.BaseURL }}" >
|
||||
© {{ with .Site.Copyright | default .Site.Title }} {{ . | safeHTML }} {{ now.Format "2006"}} {{ end }}
|
||||
</a>
|
||||
<div>{{ partial "social-follow.html" . }}</div>
|
||||
</div>
|
||||
</footer>
|
||||
{{ partial "matomo-tracking" }}
|
|
@ -0,0 +1 @@
|
|||
Subproject commit ddcb4ee2c09517bdd76c175d041f0b3b4868364f
|
Loading…
Reference in New Issue