From 7c71bb3c8e46f444ffb401130bc7431eeb1ed511 Mon Sep 17 00:00:00 2001 From: Stephen Taylor Date: Sat, 27 Apr 2024 18:40:05 +0100 Subject: [PATCH 1/3] Remove references to GA templates Fixes issue #48. --- layouts/_default/baseof.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0f58ac2..6619cf0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,9 +17,7 @@ - {{ template "_internal/google_analytics.html" . }} - {{ template "_internal/google_analytics_async.html" . }} {{ partial "scripts" . }} - \ No newline at end of file + From 501c6ed1111c54b135e858bafb766fd1a76803ff Mon Sep 17 00:00:00 2001 From: Stephen Taylor Date: Sun, 28 Apr 2024 07:51:44 +0100 Subject: [PATCH 2/3] Fixes issue #50 --- exampleSite/config.toml | 2 +- exampleSite/config/_default/config.toml | 2 +- exampleSite/config/development/config.toml | 2 +- exampleSite/config/production/config.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a0ff74c..35d6a59 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -24,7 +24,7 @@ publishDir = "public" ## Hugo Built-in Features ## ----------------------------------------------- -disableKinds = ["taxonomy", "taxonomyTerm", "section"] +disableKinds = ["taxonomy", "section"] # googleAnalytics = "your-google-analytics-id" ## ----------------------------------------------- diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index d5b7f86..1df6b11 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -24,7 +24,7 @@ publishDir = "public" ## Hugo Built-in Features ## ----------------------------------------------- -disableKinds = ["taxonomy", "taxonomyTerm", "section"] +disableKinds = ["taxonomy", "section"] # googleAnalytics = "G-XXXXXXXXXX" ## ----------------------------------------------- diff --git a/exampleSite/config/development/config.toml b/exampleSite/config/development/config.toml index 306e97a..bae8081 100644 --- a/exampleSite/config/development/config.toml +++ b/exampleSite/config/development/config.toml @@ -24,7 +24,7 @@ publishDir = "public" ## Hugo Built-in Features ## ----------------------------------------------- -disableKinds = ["taxonomy", "taxonomyTerm", "section"] +disableKinds = ["taxonomy", "section"] # googleAnalytics = "G-XXXXXXXXXX" ## ----------------------------------------------- diff --git a/exampleSite/config/production/config.toml b/exampleSite/config/production/config.toml index 306e97a..bae8081 100644 --- a/exampleSite/config/production/config.toml +++ b/exampleSite/config/production/config.toml @@ -24,7 +24,7 @@ publishDir = "public" ## Hugo Built-in Features ## ----------------------------------------------- -disableKinds = ["taxonomy", "taxonomyTerm", "section"] +disableKinds = ["taxonomy", "section"] # googleAnalytics = "G-XXXXXXXXXX" ## ----------------------------------------------- From 3695555379592a20d64ca86f29703477d81c9b41 Mon Sep 17 00:00:00 2001 From: Stephen Taylor Date: Sun, 28 Apr 2024 08:30:32 +0100 Subject: [PATCH 3/3] configuration files renamed from config.toml to hugo.toml --- exampleSite/config/_default/{config.toml => hugo.toml} | 0 exampleSite/config/development/{config.toml => hugo.toml} | 0 exampleSite/config/production/{config.toml => hugo.toml} | 0 exampleSite/{config.toml => hugo.toml} | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename exampleSite/config/_default/{config.toml => hugo.toml} (100%) rename exampleSite/config/development/{config.toml => hugo.toml} (100%) rename exampleSite/config/production/{config.toml => hugo.toml} (100%) rename exampleSite/{config.toml => hugo.toml} (100%) diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/hugo.toml similarity index 100% rename from exampleSite/config/_default/config.toml rename to exampleSite/config/_default/hugo.toml diff --git a/exampleSite/config/development/config.toml b/exampleSite/config/development/hugo.toml similarity index 100% rename from exampleSite/config/development/config.toml rename to exampleSite/config/development/hugo.toml diff --git a/exampleSite/config/production/config.toml b/exampleSite/config/production/hugo.toml similarity index 100% rename from exampleSite/config/production/config.toml rename to exampleSite/config/production/hugo.toml diff --git a/exampleSite/config.toml b/exampleSite/hugo.toml similarity index 100% rename from exampleSite/config.toml rename to exampleSite/hugo.toml