Skip to content

Commit 7a822d8

Browse files
update modules
1 parent 949542d commit 7a822d8

601 files changed

Lines changed: 30601 additions & 8555 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.Rprofile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ options(
2020
)
2121

2222
# fix Hugo version
23-
options(blogdown.hugo.version = "0.139.4")
23+
# options(blogdown.hugo.version = "0.139.4")

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
run: Rscript -e 'install.packages(c("rmarkdown","blogdown", "remotes"))'
2626

2727
- name: Install hugo
28-
run: Rscript -e 'tryCatch(blogdown::build_site(), error = function(e) { message(e); quit(status = 1) })' # Latest is currently broken
28+
run: Rscript -e 'blogdown::install_hugo("0.152.2")' # Latest is currently broken
2929

3030
- name: Build site with blogdown
31-
run: Rscript -e 'if (!blogdown::build_site()) stop("Build failed")'
31+
run: Rscript -e 'tryCatch(blogdown::build_site(), error = function(e) { message(e); quit(status = 1) })'
3232

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: Rscript -e 'install.packages(c("rmarkdown","blogdown", "remotes"))'
2626

2727
- name: Install hugo
28-
run: Rscript -e 'blogdown::install_hugo(version="0.139.4")' # Latest is currently broken
28+
run: Rscript -e 'blogdown::install_hugo("0.152.2")' # Latest is currently broken
2929

3030
- name: Build site with blogdown
3131
run: Rscript -e 'tryCatch(blogdown::build_site(), error = function(e) { message(e); quit(status = 1) })'

themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/partials/blox-analytics/index.html renamed to themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/_partials/blox-analytics/index.html

File renamed without changes.

themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-seo/layouts/partials/analytics/baidu_tongji.html renamed to themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/_partials/blox-analytics/services/baidu_tongji.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $baidu_tongji := site.Params.marketing.analytics.baidu_tongji | default "" }}
1+
{{ $baidu_tongji := site.Params.hugoblox.analytics.baidu.site_id | default "" }}
22

33
{{ if hugo.IsProduction | and $baidu_tongji }}
44
<script>

themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/partials/blox-analytics/services/fathom.html renamed to themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/_partials/blox-analytics/services/fathom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $fathom := site.Params.marketing.analytics.fathom | default "" }}
1+
{{ $fathom := site.Params.hugoblox.analytics.fathom.site_id | default "" }}
22

33
{{ if hugo.IsProduction | and $fathom }}
44
<script src="https://cdn.usefathom.com/script.js" data-site="{{$fathom}}" defer></script>

themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/partials/blox-analytics/services/google_analytics.html renamed to themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/_partials/blox-analytics/services/google_analytics.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
{{ $ga := site.Params.marketing.analytics.google_analytics | default "" }}
1+
{{ $ga := site.Params.hugoblox.analytics.google.measurement_id | default "" }}
22

33
{{ if hugo.IsProduction | and $ga }}
44

5-
{{ $gtag_config := cond (site.Params.features.privacy_pack.enable | default false) "{ 'anonymize_ip': true }" "{}" }}
5+
{{ $gtag_config := cond (site.Params.hugoblox.privacy.anonymize_analytics | default true) "{ 'anonymize_ip': true }" "{}" }}
66
<script async src="https://www.googletagmanager.com/gtag/js?id={{$ga}}"></script>
77
<script>
88
window.dataLayer = window.dataLayer || [];

themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-seo/layouts/partials/analytics/google_tag_manager.html renamed to themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/_partials/blox-analytics/services/google_tag_manager.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $gt := site.Params.marketing.analytics.google_tag_manager | default "" }}
1+
{{ $gt := site.Params.hugoblox.analytics.google_tag_manager.container_id | default "" }}
22
{{ if hugo.IsProduction | and $gt }}
33
<script>
44
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':

themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/partials/blox-analytics/services/index.html renamed to themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/_partials/blox-analytics/services/index.html

File renamed without changes.

themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-seo/layouts/partials/analytics/microsoft_clarity.html renamed to themes/github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics/layouts/_partials/blox-analytics/services/microsoft_clarity.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $clarity := site.Params.marketing.analytics.microsoft_clarity | default "" }}
1+
{{ $clarity := site.Params.hugoblox.analytics.clarity.project_id | default "" }}
22
{{ if hugo.IsProduction | and $clarity }}
33
<script>
44
(function(c,l,a,r,i,t,y){

0 commit comments

Comments
 (0)