Toevoegen foto's en informatie sprekers

This commit is contained in:
Michael Boelen 2023-06-07 13:41:21 +02:00
parent 8e8e67364f
commit f308acfe7e
4 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,11 @@
---
categories:
- evenementen
date: 2023-06-07T13:25:27+02:00
description: "Dit project heeft als doel het vervangen van de huidige website en haar content door een moderne variant."
tags:
- sprekers
slug:
title: "Sprekers"
layout: speakers
---

View file

@ -0,0 +1,18 @@
{
"id": "cristian-hesselman",
"name": "Cristian Hesselman",
"email": "",
"gender": "Male",
"honorary_member": false,
"nationality": "Dutch",
"thumbnail": "/afbeeldingen/personen/cristian-hesselman-200x200.jpg",
"social": {
"github": "",
"instagram": "",
"linkedin": "https://www.linkedin.com/in/cristian-hesselman-b774091/",
"mastodon": "@hesselma@mastodon.social",
"mastodon_url": "https://mastodon.social/@hesselma",
"twitter": "hesselma"
},
"speaker": true
}

View file

@ -0,0 +1,18 @@
{
"id": "rix-groenboom",
"name": "Rix Groenboom",
"email": "",
"gender": "Male",
"honorary_member": false,
"nationality": "Dutch",
"thumbnail": "/afbeeldingen/personen/rix-groenboom-200x200.jpg",
"social": {
"github": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": "",
"twitter": ""
},
"speaker": true
}

View file

@ -0,0 +1,14 @@
{{ define "main" }}
{{ .Content }}
<h2>Sprekers</h2>
{{ range $key,$val := $.Site.Data.personen }}
{{ if eq $val.speaker true }}
<h3>&raquo; {{ .name }}</h3>
{{ partial "show-image-of-person.html" (dict "context" . "profile_details" $val "hide_figcaption" true) }}
{{ $firstname := index (split .name " ") 0 }}
{{ if .profile_page }}<a href="{{ .profile_page }}">Meer over {{ $firstname }}</a>{{ end }}
{{ end }}
{{ end }}
{{ end }}