diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml
index 4473b0b..0717b2a 100644
--- a/.github/workflows/autoprefixer.yml
+++ b/.github/workflows/autoprefixer.yml
@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout to latest commit
- uses: actions/checkout@v4.2.1
+ uses: actions/checkout@v4.2.2
- name: Setup Node
uses: actions/setup-node@v4
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index b5017c4..5818aae 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -39,7 +39,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v4.2.1
+ uses: actions/checkout@v4.2.2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml
index c7fc63b..7a13cf1 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# checkout to the commit that has been pushed
- - uses: actions/checkout@v4.2.1
+ - uses: actions/checkout@v4.2.2
- name: Setup Node
uses: actions/setup-node@v4
@@ -35,7 +35,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4.2.1
+ - uses: actions/checkout@v4.2.2
- name: Setup Node
uses: actions/setup-node@v4
@@ -78,6 +78,6 @@ jobs:
runs-on: ubuntu-latest
steps:
# checkout to latest commit
- - uses: actions/checkout@v4.2.1
+ - uses: actions/checkout@v4.2.2
# run markdown linter
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.15
diff --git a/assets/styles/sections/footer.scss b/assets/styles/sections/footer.scss
index 423de07..6ddbf39 100644
--- a/assets/styles/sections/footer.scss
+++ b/assets/styles/sections/footer.scss
@@ -97,6 +97,10 @@ html[data-theme='dark'] {
background-color: get-dark-color('bg-primary');
&:focus {
background-color: get-dark-color('bg-secondary');
+ color: get-dark-color('text-color');
+ }
+ &::placeholder {
+ color: get-dark-color('muted-text-color');
}
}
diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html
index fc5abb5..58e83f5 100644
--- a/layouts/partials/analytics.html
+++ b/layouts/partials/analytics.html
@@ -4,9 +4,7 @@
{{ with .services }}
{{ with .google }}
- {{ $privacyConfig:= dict (slice "Site" "Config" "Privacy" "GoogleAnalytics") $.Site.Config.Privacy.GoogleAnalytics }}
- {{ $analyticsConfig := dict (slice "Site" "Config" "Services" "GoogleAnalytics" "ID") .id }}
- {{ template "_internal/google_analytics.html" (merge $privacyConfig $analyticsConfig) }}
+ {{ partial "google_analytics.html" . }}
{{ end }}
diff --git a/layouts/partials/google_analytics.html b/layouts/partials/google_analytics.html
new file mode 100644
index 0000000..4d451c1
--- /dev/null
+++ b/layouts/partials/google_analytics.html
@@ -0,0 +1,22 @@
+{{ if site.Params.features.analytics.enabled }}
+ {{- with site.Params.features.analytics.services.google.id }}
+ {{- if strings.HasPrefix (lower .) "ua-" }}
+ {{- warnf "Google Analytics 4 (GA4) replaced Google Universal Analytics (UA) effective 1 July 2023. See https://support.google.com/analytics/answer/11583528. Create a GA4 property and data stream, then replace the Google Analytics ID in your site configuration with the new value." }}
+ {{- else }}
+
+
+ {{- end }}
+ {{- end }}
+{{- end -}}
\ No newline at end of file