diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-12 02:35:36 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-12 02:36:08 +0200 |
| commit | d18f8b29630a3c6281a2754999c519b4d014ed56 (patch) | |
| tree | 685fae401462610cc0347d683049e12de097bee8 /exampleSite | |
| parent | f45fe5f45917593edd5de2416efe4546d1699a5b (diff) | |
| download | gohugo-theme-ed-d18f8b29630a3c6281a2754999c519b4d014ed56.tar.gz | |
Rework partial for Google Site Tag tagging/analytics framework
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/config/_default/config.yaml | 2 | ||||
| -rw-r--r-- | exampleSite/config/_default/params.yaml | 20 |
2 files changed, 14 insertions, 8 deletions
diff --git a/exampleSite/config/_default/config.yaml b/exampleSite/config/_default/config.yaml index 375ecc2..b610ee8 100644 --- a/exampleSite/config/_default/config.yaml +++ b/exampleSite/config/_default/config.yaml @@ -33,7 +33,7 @@ disableKinds: # # Set `HUGO_ENV` environment variable or `site.Params.env` configuration # parameter to "production" to use Google Analytics. -googleAnalytics: '' +googleAnalytics: 'xxx' minify: # Do not minify XML files to avoid CDATA escape issues diff --git a/exampleSite/config/_default/params.yaml b/exampleSite/config/_default/params.yaml index 42685e5..9a306b3 100644 --- a/exampleSite/config/_default/params.yaml +++ b/exampleSite/config/_default/params.yaml @@ -17,7 +17,7 @@ keywords: # "©" and "{year}" will be replaced by © and the current year. copyright: 'Copyright © 2019-{year} John Doe' -# Color scheme. Options: red, orange, magenta, cyan, blue, brown +# Colour scheme. Options: red, orange, magenta, cyan, blue, brown colorScheme: '' # Used in site header @@ -77,20 +77,26 @@ assets: # Logo image, relative to ./assets logo: /img/open-graph-logo.png disable_fingerprinting: false + seo: # Will be used in schema.org/Organization. # The site.Title will be used if empty. publisher: Serghei Iakovlev + # To anonymize the IP addresses of hits sent to Google Analytics + # set this param to true. Please note, to enable Google Analytics + # you have to set `googleAnalytics` param in config.yaml file. + anonymizeIp: true + social: -# Facebook Page Admin ID for Domain Insights -facebook_admin: '' + # Facebook Page Admin ID for Domain Insights + facebook_admin: '' -# Facebook Page ID -facebook_id: '' + # Facebook Page ID + facebook_id: '' -# Twitter username for the website -twitter: john_doe + # Twitter username for the website + twitter: john_doe # Configure search engine search: |
