Skip to content
Snippets Groups Projects
Commit c5771776 authored by Raufeisen, Tobias (PG/R - Sch of Biosciences)'s avatar Raufeisen, Tobias (PG/R - Sch of Biosciences) :thumbsup:
Browse files

Attempt at adding participation section

parent 8fe001f1
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -49,6 +49,11 @@ ...@@ -49,6 +49,11 @@
url = "#jobs" url = "#jobs"
weight = 100 weight = 100
[[main]]
name = "Participate"
url = "#participate"
weight = 100
# Link to a PDF of your resume/CV from the menu. # Link to a PDF of your resume/CV from the menu.
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below. # To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
# [[main]] # [[main]]
......
---
title: "Participate in Our Projects"
summary: "Join our efforts in contributing to impactful projects"
date: "{{ .Date }}"
image:
caption: "Join Us"
focal_point: "Center"
# Participation Opportunities
participation_opportunities:
- project_name: "Project 1"
description: "Brief description of Project 1 and its goals"
how_to_participate: "Specific instructions or steps for participation"
- project_name: "Project 2"
description: "Brief description of Project 2 and its goals"
how_to_participate: "Steps for participation"
# Contact Information for Participation
contact_info: "Email/Phone/Form link for participation inquiries"
---
# Introduction to Participation
Here, write a brief introduction about the importance of participation, the impact of these projects, and an invitation to join.
## Current Participation Opportunities
For each project listed in the metadata, provide detailed descriptions here. Explain what the project is about, the role of participants, and any specific skills or commitments required.
## How to Get Involved
Detail the steps for getting involved. This could include filling out a form, sending an email, or other actions required from potential participants.
## Contact Us
Provide detailed contact information or links to contact forms for further inquiries.
{{- define "main" -}}
<article class="article article-participate">
{{ partial "page_header.html" . }}
<div class="article-container">
<div class="article-style">
{{ .Content }}
</div>
{{ if .Params.participation_opportunities }}
<div class="participation-opportunities">
<h2>Participation Opportunities</h2>
{{ range .Params.participation_opportunities }}
<div class="participation-opportunity">
<h3>{{ .project_name }}</h3>
<p>{{ .description }}</p>
<p>How to participate: {{ .how_to_participate }}</p>
</div>
{{ end }}
</div>
{{ end }}
{{ partial "page_footer" . }}
<!-- Existing related pages section (if applicable) -->
<div class="project-related-pages content-widget-hr">
{{ $page := . }}
{{ $project := .File.ContentBaseName }}
{{ $items := where (where site.RegularPages "Type" "post") ".Params.projects" "intersect" (slice $project) }}
{{ $count := len $items }}
{{ if ge $count 1 }}
<h2>{{ (i18n "posts") }}</h2>
{{ range $items }}
{{ if eq site.Params.projects.post_view 1 }}
{{ partial "li_list" . }}
{{ else if eq site.Params.projects.post_view 3 }}
{{ partial "li_card" . }}
{{ else }}
{{ partial "li_compact" . }}
{{ end }}
{{ end }}
{{ end }}
{{ $items := where (where site.RegularPages "Type" "publication") ".Params.projects" "intersect" (slice $project) }}
{{ $pubs_len := len $items }}
{{ if ge $pubs_len 1 }}
<h2>{{ (i18n "publications") }}</h2>
{{ range $items }}
{{ if eq site.Params.projects.publication_view 1 }}
{{ partial "li_list" . }}
{{ else if eq site.Params.projects.publication_view 3 }}
{{ partial "li_card" . }}
{{ else if eq site.Params.projects.publication_view 4 }}
{{ partial "li_citation" . }}
{{ else }}
{{ partial "li_compact" . }}
{{ end }}
{{ end }}
{{ end }}
{{ $items := where (where site.RegularPages "Type" "talk") ".Params.projects" "intersect" (slice $project) }}
{{ $talks_len := len $items }}
{{ if ge $talks_len 1 }}
<h2>{{ (i18n "talks") }}</h2>
{{ range $items }}
{{ if eq site.Params.projects.talk_view 1 }}
{{ partial "li_list" . }}
{{ else if eq site.Params.projects.talk_view 3 }}
{{ partial "li_card" . }}
{{ else }}
{{ partial "li_compact" . }}
{{ end }}
{{ end }}
{{ end }}
</div>
</div>
</article>
{{- end -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment