diff --git a/.gitmodules b/.gitmodules index 8426317..b067eb4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/introduction"] path = themes/introduction url = https://github.com/victoriadrake/hugo-theme-introduction.git +[submodule "themes/faro-analytics"] + path = themes/faro-analytics + url = https://github.com/cbos/hugo-faro-analytics.git diff --git a/config.toml b/config.toml index b90ffcc..81e7530 100644 --- a/config.toml +++ b/config.toml @@ -45,7 +45,14 @@ defaultContentLanguage = "nl" facebook = false pinterest = false - + [params.faro_analytics] + endpoint = "https://faro-collector-prod-eu-west-3.grafana.net/collect/eb9701ade6412937233855fcc8c664b3" + name = "app.hervormdputten.nl" + version = "1.0.0" + +[module] +[[module.imports]] + path = 'faro-analytics' # If you don't want to use the default menu, you can define one by yourself # [[menu.main]] diff --git a/layouts/partials/head/favicons.html b/layouts/partials/head/favicons.html index 69e7f05..9b109a1 100644 --- a/layouts/partials/head/favicons.html +++ b/layouts/partials/head/favicons.html @@ -10,3 +10,5 @@ + +{{ partial "faro-analytics/assets/js" . }} \ No newline at end of file diff --git a/themes/faro-analytics b/themes/faro-analytics new file mode 160000 index 0000000..0aa4ec7 --- /dev/null +++ b/themes/faro-analytics @@ -0,0 +1 @@ +Subproject commit 0aa4ec79fc6ad63648f2e376cbe515f59822c369