Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorNick Desaulniers <nickdesaulniers@users.noreply.github.com>2023-02-11 02:43:00 +0300
committerGitHub <noreply@github.com>2023-02-11 02:43:00 +0300
commitbe22e9c1e61a228441c5eeeaf1861f10a714f10c (patch)
tree4df413530d38c786ada1c0b6ad9feff236353f43 /static
parent06215b5fadb0befe2cd16220d696a8bbcf15cb06 (diff)
Support Google Analytics 4 using hugo internal template (#76)HEADmaster
* Support Google Analytics 4 using hugo internal template Use https://gohugo.io/templates/internal/#google-analytics in footer partial. Update sample-config.toml; googleAnalytics now needs to be top level rather than under [params] for the internal template to work. This might be a concern for folks upgrading their Hugo-Octopress theme. Fixes: #75 * remove duplicate google analytics tag from header It's already in the footer, and https://gohugo.io/templates/internal/#use-the-google-analytics-template states that "The async template is not suitable for Google Analytics 4." which is the non-depracated version of GA. Keep the sync script in the footer to not block page loading.
Diffstat (limited to 'static')
0 files changed, 0 insertions, 0 deletions