From ebd151936f87657568dbe857e1127bc0ba319431 Mon Sep 17 00:00:00 2001 From: Senthilkumar Panneerselvam Date: Fri, 14 Jun 2024 12:11:15 +0200 Subject: [PATCH 01/15] Add data sources page --- content/english/data-sources.md | 9 ++ layouts/shortcodes/data_sources.html | 181 +++++++++++++++++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 content/english/data-sources.md create mode 100644 layouts/shortcodes/data_sources.html diff --git a/content/english/data-sources.md b/content/english/data-sources.md new file mode 100644 index 00000000..bbd4c5de --- /dev/null +++ b/content/english/data-sources.md @@ -0,0 +1,9 @@ +--- +Title: Data sources +--- + +This is a list of data sources available for *Epidemiology and biology of infection* in Sweden. Use the **Search** function to find sources by name/keywords (often more granular than other filters). A resource type of **Repository** indicates that at least some users can both submit and access data, whilst **Data Source** indicates that data can only be accessed, not submitted. It is also possible to filter data sources according to **Data Type**. + +[Get in touch](/contact/) about adding further data sources. + +{{< data_sources >}} diff --git a/layouts/shortcodes/data_sources.html b/layouts/shortcodes/data_sources.html new file mode 100644 index 00000000..1f924f28 --- /dev/null +++ b/layouts/shortcodes/data_sources.html @@ -0,0 +1,181 @@ +
+ +
+ + + + + + + + From c51eb02043d16e2419832cc77565bd015a0f5ca3 Mon Sep 17 00:00:00 2001 From: Senthilkumar Panneerselvam Date: Fri, 14 Jun 2024 12:17:32 +0200 Subject: [PATCH 02/15] Reform header --- content/english/citation.md | 5 +- content/english/contribute.md | 5 +- content/english/events/_index.md | 4 + content/english/share-data.md | 4 - content/english/support.md | 5 - content/svenska/citation.md | 5 +- content/svenska/contribute.md | 5 +- content/svenska/share-data.md | 5 - content/svenska/support.md | 5 - layouts/index.html | 26 +--- layouts/partials/header.html | 4 +- layouts/partials/navbar.html | 251 ++++++++++++++----------------- static/css/styles.css | 107 +++++-------- 13 files changed, 165 insertions(+), 266 deletions(-) diff --git a/content/english/citation.md b/content/english/citation.md index d762173a..3c8242de 100644 --- a/content/english/citation.md +++ b/content/english/citation.md @@ -1,10 +1,9 @@ --- title: How to cite the Portal menu: - top_actions: + navbar_top: name: Cite us - weight: 80 - pre: + weight: 50 footer_about: name: Cite us weight: 30 diff --git a/content/english/contribute.md b/content/english/contribute.md index 7099f2b2..4d293398 100644 --- a/content/english/contribute.md +++ b/content/english/contribute.md @@ -1,10 +1,9 @@ --- title: Contribute menu: - top_actions: + navbar_top: name: Contribute - weight: 40 - pre: + weight: 30 --- The _Swedish Pathogens Portal_ was built to serve the community of researchers working on relevant topics and we welcome any contributions from the community or suggestions on how the Portal can help the community. Whenever there is anything that you would like to share with your colleagues, do not hesistate to share it through the Portal. We welcome suggestions for new information or edits in all sections as well as ideas for new sections that could be launched. diff --git a/content/english/events/_index.md b/content/english/events/_index.md index b017f70e..f9f1e513 100644 --- a/content/english/events/_index.md +++ b/content/english/events/_index.md @@ -2,6 +2,10 @@ title: Events & Training description: Community-sourced collection of events and training opportunities. recaptcha: true +menu: + navbar_top: + name: Events & Training + weight: 40 --- This section includes a list of upcoming conferences, webinars, workshops, and training opportunities related to pandemic preparedness and infectious disease. This includes events related to the management of data for these topics. We also welcome suggestions for events related to research data management in general. Such events will instead be listed on the [SciLifeLab Data Platform](https://data.scilifelab.se/events/). We highly encourage users to explore those events. diff --git a/content/english/share-data.md b/content/english/share-data.md index 5ce5b8b1..53466aed 100644 --- a/content/english/share-data.md +++ b/content/english/share-data.md @@ -1,10 +1,6 @@ --- title: Share data toc: true -menu: - top_actions: - weight: 40 - pre: aliases: - /data_types/genomics_transcriptomics/guidelines/ - /data_types/compound_and_target_data/guidelines/ diff --git a/content/english/support.md b/content/english/support.md index bdcf564a..7f4d745e 100644 --- a/content/english/support.md +++ b/content/english/support.md @@ -1,11 +1,6 @@ --- title: Get support toc: false -menu: - top_actions: - name: Get support - weight: 70 - pre: aliases: - /support_services/bioinformatics/ --- diff --git a/content/svenska/citation.md b/content/svenska/citation.md index 08576549..0cfcdc68 100644 --- a/content/svenska/citation.md +++ b/content/svenska/citation.md @@ -1,10 +1,9 @@ --- title: Citera data, information och resurser från portalen menu: - top_actions: + navbar_top: name: Citera oss - weight: 80 - pre: + weight: 40 footer_about: name: Citera oss weight: 30 diff --git a/content/svenska/contribute.md b/content/svenska/contribute.md index ab31cc73..0eb11a30 100644 --- a/content/svenska/contribute.md +++ b/content/svenska/contribute.md @@ -2,10 +2,9 @@ title: Bidra till Portalen toc: false menu: - top_actions: + navbar_top: name: Bidra till Portalen - weight: 40 - pre: + weight: 30 --- Pathogens Portal Sverige har som syfte att stödja forskare som arbetar inom de forskningsområden som Portalen specifikt är inriktade på. Vi välkomnar både förslag på och bidrag till Portalens innehåll och förslag på hur Portalen kan utvecklas för att bättre stödja forskningen. Som forskare uppmanar vi dig att interagera med Portalen, exempelvis genom att dela data eller information genom Portalen. Vi tar även gärna emot förslag på nytt innehåll, nya sektioner samt förslag på hur nuvarande sektioner kan utvecklas och förnyas. diff --git a/content/svenska/share-data.md b/content/svenska/share-data.md index 19e8b62a..be4e2297 100644 --- a/content/svenska/share-data.md +++ b/content/svenska/share-data.md @@ -1,11 +1,6 @@ --- title: Dela data toc: true -menu: - top_actions: - name: Dela data - weight: 40 - pre: aliases: - /sv/data_types/genomics_transcriptomics/guidelines/ - /sv/data_types/compound_and_target_data/guidelines/ diff --git a/content/svenska/support.md b/content/svenska/support.md index 55a91bd1..f06b60e2 100644 --- a/content/svenska/support.md +++ b/content/svenska/support.md @@ -1,11 +1,6 @@ --- title: Stödtjänster toc: false -menu: - top_actions: - name: Stödtjänster - weight: 70 - pre: aliases: - /sv/support_services/bioinformatics/ --- diff --git a/layouts/index.html b/layouts/index.html index 87df43fd..114bbcd5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,30 +3,12 @@
- - - - {{ range .Site.Menus.homepage_dashboards }}
-

{{ .Name }}

+

{{ .Name }}