From e967906c18054bb35a0cc40fdbc5b8e12de32448 Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Tue, 19 Nov 2024 12:49:24 +0100 Subject: [PATCH] fix hero backgrounds --- admin/config.yml | 6 +++--- content/grants-and-projects/_index.md | 2 +- content/{privacy-policy => policies}/_index.md | 0 layouts/contact-us/list.html | 3 ++- layouts/converting-data-to-nwb/list.html | 2 +- layouts/grants-and-projects/list.html | 2 +- layouts/{privacy-policy => policies}/list.html | 2 +- layouts/publications/list.html | 2 +- layouts/team/list.html | 6 +++--- layouts/working-groups/list.html | 2 +- 10 files changed, 14 insertions(+), 13 deletions(-) rename content/{privacy-policy => policies}/_index.md (100%) rename layouts/{privacy-policy => policies}/list.html (98%) diff --git a/admin/config.yml b/admin/config.yml index d6b29b7..537d9c6 100644 --- a/admin/config.yml +++ b/admin/config.yml @@ -1016,9 +1016,9 @@ collections: widget: "markdown" - - name: "privacy-policy" - label: "Privacy Policy" - file: "content/privacy-policy/_index.md" + - name: "policies" + label: "Policies" + file: "content/policies/_index.md" create: true fields: - label: "Title" diff --git a/content/grants-and-projects/_index.md b/content/grants-and-projects/_index.md index c9c4136..fbc5347 100644 --- a/content/grants-and-projects/_index.md +++ b/content/grants-and-projects/_index.md @@ -1,5 +1,5 @@ --- -title: Grants And Projects +title: Grants and Projects sponsered_projects: enable: true boxes: diff --git a/content/privacy-policy/_index.md b/content/policies/_index.md similarity index 100% rename from content/privacy-policy/_index.md rename to content/policies/_index.md diff --git a/layouts/contact-us/list.html b/layouts/contact-us/list.html index 460f0c7..114f53b 100644 --- a/layouts/contact-us/list.html +++ b/layouts/contact-us/list.html @@ -1,6 +1,7 @@ {{ define "main" }} {{/* Hero Section */}} -
+

{{ .Title | markdownify }}

diff --git a/layouts/converting-data-to-nwb/list.html b/layouts/converting-data-to-nwb/list.html index ce0e8c8..87f6a1d 100644 --- a/layouts/converting-data-to-nwb/list.html +++ b/layouts/converting-data-to-nwb/list.html @@ -1,7 +1,7 @@ {{ define "main" }} {{/* Hero Section */}}
+ style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">

{{ .Title | markdownify }}

diff --git a/layouts/grants-and-projects/list.html b/layouts/grants-and-projects/list.html index b9901cc..b76c6a5 100644 --- a/layouts/grants-and-projects/list.html +++ b/layouts/grants-and-projects/list.html @@ -1,7 +1,7 @@ {{ define "main" }} {{/* Hero Section */}}
+ style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">

{{ .Title | markdownify }}

diff --git a/layouts/privacy-policy/list.html b/layouts/policies/list.html similarity index 98% rename from layouts/privacy-policy/list.html rename to layouts/policies/list.html index f70cdee..26360f9 100644 --- a/layouts/privacy-policy/list.html +++ b/layouts/policies/list.html @@ -1,7 +1,7 @@ {{ define "main" }} {{/* Hero Section */}}
+ style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">

{{ .Title | markdownify }}

diff --git a/layouts/publications/list.html b/layouts/publications/list.html index e8a1f71..019a21b 100644 --- a/layouts/publications/list.html +++ b/layouts/publications/list.html @@ -1,7 +1,7 @@ {{ define "main" }} {{/* Hero Section */}}
+ style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">

{{ .Title | markdownify }}

diff --git a/layouts/team/list.html b/layouts/team/list.html index 0241472..b19307f 100644 --- a/layouts/team/list.html +++ b/layouts/team/list.html @@ -1,6 +1,6 @@ {{ define "main" }} {{/* Hero Section */}} -
+

{{ .Title | markdownify }}

@@ -8,7 +8,7 @@

{{ .Title | markdownify

{{/* End Hero Section */}} -{{/* Goverance Section */}} +{{/* Governance Section */}} {{ with .Params.governance_section }} {{ if .enable }}
@@ -19,7 +19,7 @@

{{ .title | markdownify }}

{{ end }} {{ end }} -{{/* End Goverance Section */}} +{{/* End Governance Section */}} {{/* Executive Board Section */}} {{ with .Params.executive_section }} diff --git a/layouts/working-groups/list.html b/layouts/working-groups/list.html index 8fe7b12..7546d4a 100644 --- a/layouts/working-groups/list.html +++ b/layouts/working-groups/list.html @@ -1,7 +1,7 @@ {{ define "main" }} {{/* Hero Section */}}
+ style="background: radial-gradient(#063053e5, #062e52e5), url('/images/essentials/aboutBg.png');">

{{ .Title | markdownify }}