From da50d4829b3a64343669748a987baaadbdce459e Mon Sep 17 00:00:00 2001 From: sseppi Date: Wed, 11 Dec 2024 10:29:35 +0100 Subject: [PATCH 1/3] Cleanup header partial --- src/themes/odh-fbe/layouts/partials/header.html | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/themes/odh-fbe/layouts/partials/header.html b/src/themes/odh-fbe/layouts/partials/header.html index 66ac98eb..af498cf6 100644 --- a/src/themes/odh-fbe/layouts/partials/header.html +++ b/src/themes/odh-fbe/layouts/partials/header.html @@ -8,28 +8,13 @@ {{ .Site.Title }} - + {{ with .Site.Params.author }} {{ end }} {{ with .Site.Params.description }} {{ end }} {{ with .Site.LanguageCode }} {{ end }} - - - - - - - - - - - - {{ if not .Site.Params.OpenGraph.hide }} From 16dd490d485295f668ee8c11e283a9bce8174c5f Mon Sep 17 00:00:00 2001 From: sseppi Date: Wed, 11 Dec 2024 16:45:22 +0100 Subject: [PATCH 2/3] Improve event template, add the call4speakers section, add bold to ert use case --- src/content/events/odhday25/_index.md | 11 ++++++++-- src/content/use-cases/ert-map.md | 14 ++++++------- .../odh-fbe/layouts/events/single/list.html | 20 ++++++++++++------ .../partials/call-for-speaker-section.html | 21 +++++++++++++++++++ .../partials/table-program-press-release.html | 10 +++++++-- 5 files changed, 58 insertions(+), 18 deletions(-) create mode 100644 src/themes/odh-fbe/layouts/partials/call-for-speaker-section.html diff --git a/src/content/events/odhday25/_index.md b/src/content/events/odhday25/_index.md index ce8444a2..a2850519 100644 --- a/src/content/events/odhday25/_index.md +++ b/src/content/events/odhday25/_index.md @@ -13,14 +13,21 @@ subtitle: "The fifth edition of the Open Data Hub Day will take place on 30th Ma Join us as we explore the topic with experts and representatives from leading companies, as well as NOI's academic partners. " +callForSpeakers: + title: "Open Data Hub Day - Call4Speakers" + subtitle: "The Call4Speakers for Open Data Hub Day 2025 is open until **31st March 2025**. Submit your proposal for a 15-minute lightning talk." + btn_cfs_link: "https://pretalx.com/open-data-hub-day-2025/cfp" + btn_cfs_label: "Call4Speakers" + btn_cfs_on_click: "_paq.push(['trackEvent', 'Event Registration', 'Click', 'Open Data Hub Day']);" + program: title: "Open Data Hub Day - Programme" subtitle: "The event will be held in English. Below is the preliminary programme. The final programme will be published one month before the event." content: title: Call4Speakers - btn_top_link: "https://pretalx.com/open-data-hub-day-2025/cfp" - btn_top_label: "Call4Speakers" + btn_top_link: + btn_top_label: btn_top_on_click: "_paq.push(['trackEvent', 'Event Registration', 'Click', 'Open Data Hub Day']);" header: diff --git a/src/content/use-cases/ert-map.md b/src/content/use-cases/ert-map.md index 3b817c04..19c73028 100644 --- a/src/content/use-cases/ert-map.md +++ b/src/content/use-cases/ert-map.md @@ -22,23 +22,21 @@ short: start: description: "ËRT - Moritz Brunner" title: "**Bringing Ideas to Life with Open Data**" - subtitle: The ËRT project showcases how open data can turn creative ideas into impactful solutions. Leveraging datasets from the Open Data Hub, ËRT transitioned from labor-intensive manual data entry to streamlined, scalable workflows. This innovation led to the development of interactive landscape models that merge CNC-milled terrain reliefs with dynamic digital projections, providing fresh and engaging methods to explore geographical information. + subtitle: The ËRT project showcases how **open data** can turn **creative ideas** into **impactful solutions**. Leveraging datasets from the Open Data Hub, ËRT transitioned from labor-intensive manual data entry to streamlined, scalable workflows. This innovation led to the development of interactive landscape models that merge CNC-milled terrain reliefs with dynamic digital projections, providing fresh and engaging methods to explore geographical information. video: "https://player.vimeo.com/video/951204749" partial: title-cta.html paragraphs: - title: "" description: "ËRT is a pioneering initiative focused on creating interactive 3D landscape models that enhance understanding of geographical areas through dynamic projection mapping. Founded by Moritz Brunner, ËRT integrates high-resolution CNC-milled reliefs with digital projections, offering a unique way to visualize and interact with geographical information. - In the video interview Brunner highlighted the key benefits of using open data: the vast quantity and variety of information available, and the relative ease with which it can be integrated into new projects. By leveraging these open data sources, ËRT can provide richer, more comprehensive models that respond dynamically to real-world information." + In the video interview Brunner highlighted the **key benefits of using open data**: the **vast quantity** and **variety of information** available, and its **easy integration** into new projects. By leveraging these open data sources, ËRT can provide richer, more comprehensive models that respond dynamically to real-world information." img_back: "/img/use-cases/OpenDataHub-usecase-ert-moritz-brunner-01.jpg" img_credit: "© ËRT / Moritz Brunner" - btn_link: "https://opendatahub.com/services/data-access/" - btn_label: Data Access partial: imgs-text-enlargeable.html - title: "" - description: "The Open Data Hub provides a vast array of topographical, environmental, and statistical data that can be easily integrated into creative projects like ËRT. Access to these resources allowed the project to evolve rapidly, enhancing educational and tourism experiences while showcasing the potential of open data in creative industries." + description: "The **Open Data Hub** provides a **vast array** of **topographical**, **environmental**, and **statistical data** that can be **easily integrated** into creative projects like ËRT. Access to these resources allowed the project to evolve rapidly, enhancing educational and tourism experiences while showcasing the potential of open data in creative industries." img_back: "/img/use-cases/OpenDataHub-usecase-ert-moritz-brunner-02.jpg" img_credit: "© Open Data Hub / Tania Marcadella" btn_link: "https://opendatahub.com/datasets/" @@ -49,10 +47,10 @@ paragraphs: - title: "**Do you have a creative project that needs open data?**" description: "Whether you're working on interactive applications, educational tools, or other data-driven projects, the Open Data Hub can provide the resources you need to succeed.

- Discover how the Data Access Service can support your vision." + Discover how the **Data Access Service** can support your vision." img_back: "/img/use-cases/OpenDataHub-usecase-ert-moritz-brunner-03.jpg" img_credit: "© Open Data Hub / Tania Marcadella" - btn_link: "https://opendatahub.com/contact/" - btn_label: Contact us + btn_link: "https://opendatahub.com/services/data-access/" + btn_label: Data Access Service partial: imgs-text-enlargeable.html --- diff --git a/src/themes/odh-fbe/layouts/events/single/list.html b/src/themes/odh-fbe/layouts/events/single/list.html index 95f7cfa3..f3f370af 100644 --- a/src/themes/odh-fbe/layouts/events/single/list.html +++ b/src/themes/odh-fbe/layouts/events/single/list.html @@ -7,12 +7,20 @@ {{ define "main" }} {{ partial "title.html" .Params }} + {{ if (.Params.callForSpeakers) }} +
+ {{ partial "call-for-speaker-section.html" .Params.callForSpeakers }} +
-
- - {{ partial "title-section.html" .Params.program }} - {{ partial .Params.content_partial .Params.content }} - -
+
+ {{ partial "title-section.html" .Params.program }} + {{ partial .Params.content_partial .Params.content }} +
+ {{else}} +
+ {{ partial "title-section.html" .Params.program }} + {{ partial .Params.content_partial .Params.content }} +
+ {{end}} {{ end }} diff --git a/src/themes/odh-fbe/layouts/partials/call-for-speaker-section.html b/src/themes/odh-fbe/layouts/partials/call-for-speaker-section.html new file mode 100644 index 00000000..0b607454 --- /dev/null +++ b/src/themes/odh-fbe/layouts/partials/call-for-speaker-section.html @@ -0,0 +1,21 @@ +{{/* + SPDX-FileCopyrightText: NOI Techpark + + SPDX-License-Identifier: AGPL-3.0-or-later +*/}} + +{{" " | safeHTML }} +
+
+
+
+

{{ .title | markdownify }}

+ {{ with .subtitle }}

{{ . | markdownify }}

{{ end }} +
+
+

+ {{.btn_cfs_label | markdownify }} +

+
+
+{{" " | safeHTML }} \ No newline at end of file diff --git a/src/themes/odh-fbe/layouts/partials/table-program-press-release.html b/src/themes/odh-fbe/layouts/partials/table-program-press-release.html index 69aa377b..22bc47cb 100644 --- a/src/themes/odh-fbe/layouts/partials/table-program-press-release.html +++ b/src/themes/odh-fbe/layouts/partials/table-program-press-release.html @@ -5,7 +5,10 @@ */}}
- {{ .btn_top_label | markdownify }} + {{ if and (.btn_top_label) (.btn_top_link) }} + {{ .btn_top_label | markdownify }} + {{ end }} +
@@ -36,7 +39,10 @@
- {{ .btn_down_label | markdownify }} + {{ if and (.btn_down_label) (.btn_down_link) }} + {{ .btn_down_label | markdownify }} + {{ end }} +
From e55dcbcb348d3a85ea918b8509f7da26f46057e6 Mon Sep 17 00:00:00 2001 From: RudiThoeni Date: Thu, 12 Dec 2024 16:26:20 +0100 Subject: [PATCH 3/3] adding noindex parameter --- src/config/_default/config.yml | 1 + src/config/production/params.yml | 2 ++ src/config/testing/params.yml | 2 ++ src/themes/odh-fbe/layouts/partials/header.html | 4 +++- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/config/_default/config.yml b/src/config/_default/config.yml index 29f596c1..8c9c357c 100644 --- a/src/config/_default/config.yml +++ b/src/config/_default/config.yml @@ -35,6 +35,7 @@ params: - key: font-name value: Open Sans + noindex: false logo: img/NOI_OPENDATAHUB_NEW_BK_nospace-01.svg logo_NOI: img/NOI_1_BK.svg web_NOI: "https://noi.bz.it" diff --git a/src/config/production/params.yml b/src/config/production/params.yml index da271831..3fe25165 100644 --- a/src/config/production/params.yml +++ b/src/config/production/params.yml @@ -24,3 +24,5 @@ web_components: value: https://fonts.testingmachine.eu/open-sans/style.css - key: font-name value: Open Sans + +noindex: false \ No newline at end of file diff --git a/src/config/testing/params.yml b/src/config/testing/params.yml index 10692367..ae356c86 100644 --- a/src/config/testing/params.yml +++ b/src/config/testing/params.yml @@ -24,3 +24,5 @@ web_components: value: https://fonts.testingmachine.eu/open-sans/style.css - key: font-name value: Open Sans + +noindex: true \ No newline at end of file diff --git a/src/themes/odh-fbe/layouts/partials/header.html b/src/themes/odh-fbe/layouts/partials/header.html index af498cf6..5ced1b4c 100644 --- a/src/themes/odh-fbe/layouts/partials/header.html +++ b/src/themes/odh-fbe/layouts/partials/header.html @@ -14,7 +14,9 @@ {{ with .Site.Params.description }} {{ end }} {{ with .Site.LanguageCode }} {{ end }} - +{{ if .Site.Params.noindex }} + +{{ end }} {{ if not .Site.Params.OpenGraph.hide }}