diff --git a/content/curated_resources/guideline-for-reporting-systematic-revie.md b/content/curated_resources/guideline-for-reporting-systematic-revie.md index a545c6c0ee6..107a87b00ee 100644 --- a/content/curated_resources/guideline-for-reporting-systematic-revie.md +++ b/content/curated_resources/guideline-for-reporting-systematic-revie.md @@ -57,7 +57,7 @@ "Outcome measurement instrument", "PRISMA", "Reporting guideline", - "Systematic reviews." + "Systematic reviews" ], "forrt_clusters_new": "Replication and meta-research, Replication Crisis and Credibility Revolution", "forrt_sub_clusters": "Meta-analyses, Proposed science improvement initiatives on statistics, measurement, teaching, data sharing, code sharing, pre-registration, & replication", diff --git a/content/curated_resources/interpreting-effect-sizes-and-confidence.md b/content/curated_resources/interpreting-effect-sizes-and-confidence.md index 222e76a18d4..4e6771d32c4 100644 --- a/content/curated_resources/interpreting-effect-sizes-and-confidence.md +++ b/content/curated_resources/interpreting-effect-sizes-and-confidence.md @@ -27,7 +27,7 @@ "Conceptual and Statistical Knowledge" ], "tags": [ - "Statistics; Effect Sizes; Confidence Intervals; Data Analysis; Data Visualization; Data Interpretation." + "Statistics; Effect Sizes; Confidence Intervals; Data Analysis; Data Visualization; Data Interpretation" ], "forrt_clusters_new": "Conceptual and Statistical Knowledge", "forrt_sub_clusters": "Effect sizes, statistical power, simulations, & confidence intervals.", diff --git a/content/curated_resources/on-the-use-and-misuses-of-preregistratio.md b/content/curated_resources/on-the-use-and-misuses-of-preregistratio.md index 044b298db33..d03143d7823 100644 --- a/content/curated_resources/on-the-use-and-misuses-of-preregistratio.md +++ b/content/curated_resources/on-the-use-and-misuses-of-preregistratio.md @@ -37,7 +37,7 @@ "Falsification", "Severity", "Open Science", - "Methodological Reform." + "Methodological Reform" ], "forrt_clusters_new": "Pre-analysis Planning, Replication Crisis and Credibility Revolution", "forrt_sub_clusters": "Ongoing debates (e.g., incentives for and against open science practices), Understanding the types of preregistration and writing one.", diff --git a/content/curated_resources/revisiting-the-replication-crisis-withou.md b/content/curated_resources/revisiting-the-replication-crisis-withou.md index 46025ad1824..9dc46d14107 100644 --- a/content/curated_resources/revisiting-the-replication-crisis-withou.md +++ b/content/curated_resources/revisiting-the-replication-crisis-withou.md @@ -38,7 +38,7 @@ "Metascience", "Replication", "Reproducibility", - "Statistics." + "Statistics" ], "forrt_clusters_new": "Replication Crisis and Credibility Revolution, Replication and meta-research", "forrt_sub_clusters": "Meta-research, Ongoing debates (e.g., incentives for and against open science practices)", diff --git a/content/glossary/_index.md b/content/glossary/_index.md index e5c8071d39b..4e5f286ff03 100644 --- a/content/glossary/_index.md +++ b/content/glossary/_index.md @@ -1,6 +1,6 @@ --- title: Glossary -_build: +build: render: never list: never --- diff --git a/content/nowherelab/phd-survival-guide.md b/content/nowherelab/phd-survival-guide.md index d306a4ac1f2..78079ca9dd1 100644 --- a/content/nowherelab/phd-survival-guide.md +++ b/content/nowherelab/phd-survival-guide.md @@ -1,7 +1,7 @@ --- title: Nowhere Lab PhD Survival Guide date: 2026-04-28 -_build: +build: list: never --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d41a85dc79e..04157907556 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,6 +1,6 @@ -{{- $language_code := site.LanguageCode | default "en-us" -}} - +{{- $language_code := site.Language.Locale | default "en-us" -}} + {{ partial "site_head" . }} diff --git a/layouts/clusters/cluster.html b/layouts/clusters/cluster.html index 08ce4adff37..da2e3fd01d5 100644 --- a/layouts/clusters/cluster.html +++ b/layouts/clusters/cluster.html @@ -18,7 +18,7 @@ */}} {{ define "main" }} {{ $n := int .Params.cluster_number }} -{{ $data := site.Data.clusters_v4 }} +{{ $data := hugo.Data.clusters_v4 }} {{ $cluster := false }} {{ if $data }} {{ range $data.clusters }} diff --git a/layouts/partials/clusters/all_clusters.html b/layouts/partials/clusters/all_clusters.html index 20984a04a20..8605f3941d8 100644 --- a/layouts/partials/clusters/all_clusters.html +++ b/layouts/partials/clusters/all_clusters.html @@ -1,5 +1,5 @@ {{/* all_clusters.html - Partial to display all clusters from data */}} -{{ $data := site.Data.clusters_v4 }} +{{ $data := hugo.Data.clusters_v4 }} {{ if not $data }}
Data Error: clusters_v4.json data not found. Run python3 scripts/parse_clusters_to_sheet.py --export-json. diff --git a/layouts/partials/clusters/cluster_section.html b/layouts/partials/clusters/cluster_section.html index 0dcc0287401..dbeb5eb956a 100644 --- a/layouts/partials/clusters/cluster_section.html +++ b/layouts/partials/clusters/cluster_section.html @@ -10,7 +10,7 @@ {{ $featuredEnabled := site.Params.enable_featured_resources }} {{ $featuredData := false }} {{ if $featuredEnabled }} - {{ with site.Data.featured_resources }} + {{ with hugo.Data.featured_resources }} {{ $key := printf "%d" (int $cluster.number) }} {{ with index .clusters $key }} {{ $featuredData = . }} @@ -71,7 +71,7 @@

{{ $sc.name }}

{{ end }} {{ if $sc.publications }} - {{ $pubCards := site.Data.pub_cards }} + {{ $pubCards := hugo.Data.pub_cards }}
{{ range $pi, $pub := $sc.publications }} {{ $card := false }} diff --git a/layouts/partials/clusters/cluster_seo_jsonld.html b/layouts/partials/clusters/cluster_seo_jsonld.html index 46a43956bf7..560f8c5fcc0 100644 --- a/layouts/partials/clusters/cluster_seo_jsonld.html +++ b/layouts/partials/clusters/cluster_seo_jsonld.html @@ -14,7 +14,7 @@ {{ $hubURL := "clusters/" | absURL }} -{{ $webpage := dict "@type" "WebPage" "@id" (printf "%s#webpage" $p.Permalink) "url" $p.Permalink "name" $p.Title "description" $summary "inLanguage" (site.LanguageCode | default "en-US") }} +{{ $webpage := dict "@type" "WebPage" "@id" (printf "%s#webpage" $p.Permalink) "url" $p.Permalink "name" $p.Title "description" $summary "inLanguage" (site.Language.Locale | default "en-US") }} {{ if and $p.Params.sharing_image_resource ($p.Resources.GetMatch $p.Params.sharing_image_resource) }} {{ $pimg := $p.Resources.GetMatch $p.Params.sharing_image_resource }} {{ $webpage = merge $webpage (dict "primaryImageOfPage" (dict "@type" "ImageObject" "url" $pimg.Permalink)) }} diff --git a/layouts/partials/clusters/clusters_controls.html b/layouts/partials/clusters/clusters_controls.html index 0bfe1de6482..a8bd2db81d4 100644 --- a/layouts/partials/clusters/clusters_controls.html +++ b/layouts/partials/clusters/clusters_controls.html @@ -7,7 +7,7 @@
- {{ $tags := site.Data.filter_tags }} + {{ $tags := hugo.Data.filter_tags }}
Focus
diff --git a/layouts/partials/clusters/featured_global.html b/layouts/partials/clusters/featured_global.html index cc1fd52ecc6..792ff87854f 100644 --- a/layouts/partials/clusters/featured_global.html +++ b/layouts/partials/clusters/featured_global.html @@ -46,15 +46,15 @@
{{/* Inject featured data, pub card lookup, and focus order as JSON for JS */}} -{{ $featured := site.Data.featured_resources }} +{{ $featured := hugo.Data.featured_resources }} {{ if $featured }} {{ end }} -{{ $pubCards := site.Data.pub_cards }} +{{ $pubCards := hugo.Data.pub_cards }} {{ if $pubCards }} {{ end }} -{{ $filterTags := site.Data.filter_tags }} +{{ $filterTags := hugo.Data.filter_tags }} {{ if $filterTags }} {{ end }} diff --git a/layouts/partials/clusters/seo_jsonld.html b/layouts/partials/clusters/seo_jsonld.html index b2e11031eda..7d576f73dd2 100644 --- a/layouts/partials/clusters/seo_jsonld.html +++ b/layouts/partials/clusters/seo_jsonld.html @@ -1,5 +1,5 @@ {{/* Structured data: WebPage + ItemList of all clusters for search engines */}} -{{ $data := site.Data.clusters_v4 }} +{{ $data := hugo.Data.clusters_v4 }} {{ if not $data }}{{ return }}{{ end }} {{ $summary := .Params.summary | default .Description | default "" }} @@ -22,7 +22,7 @@ {{ $elements = $elements | append $item }} {{ end }} -{{ $webpage := dict "@type" "WebPage" "@id" (printf "%s#webpage" .Permalink) "url" .Permalink "name" .Title "description" $summary "inLanguage" (site.LanguageCode | default "en-US") }} +{{ $webpage := dict "@type" "WebPage" "@id" (printf "%s#webpage" .Permalink) "url" .Permalink "name" .Title "description" $summary "inLanguage" (site.Language.Locale | default "en-US") }} {{ if and .Params.sharing_image_resource (.Resources.GetMatch .Params.sharing_image_resource) }} {{ $pimg := .Resources.GetMatch .Params.sharing_image_resource }} {{ $webpage = merge $webpage (dict "primaryImageOfPage" (dict "@type" "ImageObject" "url" $pimg.Permalink)) }} diff --git a/layouts/partials/clusters/sidebar_nav.html b/layouts/partials/clusters/sidebar_nav.html index ebf86c79c08..c39c0cef17c 100644 --- a/layouts/partials/clusters/sidebar_nav.html +++ b/layouts/partials/clusters/sidebar_nav.html @@ -24,7 +24,7 @@ {{ $featEnabled := site.Params.enable_featured_resources }} {{ $hasFeat := false }} {{ if $featEnabled }} - {{ with site.Data.featured_resources }} + {{ with hugo.Data.featured_resources }} {{ $ck := printf "%d" (int $cluster.number) }} {{ with index .clusters $ck }}{{ $hasFeat = true }}{{ end }} {{ end }} diff --git a/layouts/partials/functions/tags.html b/layouts/partials/functions/tags.html index 517e47b1932..037cd09d288 100644 --- a/layouts/partials/functions/tags.html +++ b/layouts/partials/functions/tags.html @@ -1,6 +1,6 @@ {{/* Get Publication Types */}} {{ $cluster_types := slice }} -{{ range site.Data.clusters.types }} +{{ range hugo.Data.clusters.types }} {{ $cluster_types = $cluster_types | append (i18n . | default "Uncategorized") }} {{ end }} {{ return $cluster_types }} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 6bb3dbdab26..d08b8043ea8 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -149,15 +149,15 @@