This commit is contained in:
Patrick Reijnen 2023-05-21 16:20:51 +02:00
commit 7ea17732e5
51 changed files with 681 additions and 53 deletions

View file

@ -1,6 +1,7 @@
{ {
"scripts": [ "scripts": [
"js/fuse.js", "js/fuse.js",
"js/mark.min.js" "js/mark.min.js",
"js/search.js"
] ]
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View file

@ -0,0 +1,11 @@
Created with https://angrytools.com/gradient/image/
Alpha: 100
linksonder:
RGB 255, 255, 255
location 0%
rechtsonder:
RGB 106, 32, 96
location 84%

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

View file

@ -60,6 +60,13 @@
parent = "lidmaatschap" parent = "lidmaatschap"
weight = 32 weight = 32
[[main]]
identifier = "lidmaatschap-ereleden"
name = "Ereleden"
url = "/lidmaatschap/ereleden/"
parent = "lidmaatschap"
weight = 33
[[main]] [[main]]
identifier = "nieuws" identifier = "nieuws"
name = "Nieuws" name = "Nieuws"

View file

@ -0,0 +1,19 @@
---
categories:
- Lidmaatschap
date: 2023-05-21T12:36:42+02:00
description: "Door een bijzondere of langjarige inzet kent onze vereniging ook een aantal ereleden. Deze pagina laat zien wie dit zijn."
layout: ereleden
slug:
tags:
- erelid
title: "Ereleden"
---
# Ereleden
Binnen onze vereniging kennen we naast leden ook ereleden. Deze titel hebben deze leden te danken aan bijzondere en/of langjarige inzet voor de vereniging.
## Toekenning
Het erelidmaatschap wordt toegekend door het bestuur.

View file

@ -0,0 +1,46 @@
---
categories:
- website
date: 2023-05-20T23:19:44+02:00
description: "Dit is de NLUUG stijlgids voor de website en bevat de structuur en kleuren van onze huisstijl."
slug:
tags:
- kleuren
- stijl
- website
title: "Stijlgids"
---
# Stijlgids NLUUG-website
## Kleuren
We gebruiken zoveel mogelijk de kleurstelling zoals die ooit in de oude website werd toegepast.
* Donkerblauw: #1D3160
* Extra donkere versie van donkerblauw: #17274d
* Groen (voor call-to-action): #138808
* Donkergroen voor call-to-action (hover): #0F6D06
* Paars: #6A2060;
* Lichtpaars (uitgangspunt 6A2060): #EBBCE5
Nog te benoemen:
* #99AFE2
* #E3E9F7
## Headings
Binnen de website maken we vooral gebruik van H1, H2, H3, H4.
### H1
Komt maximaal eenmalig voor per pagina
### H2
De hoofdsecties van een pagina worden voorzien van H2. Op een doorsnee pagina is het gebruikelijk om meerdere H2-headings te zien.
### H3 en H4
Waar de content wat langer is kan het gebruik van H3 en zelfs H4 worden toegepast.

View file

@ -0,0 +1,17 @@
{
"id": "bob-eskes",
"name": "Bob Eskes",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "chel-van-gennip",
"name": "Chel van Gennip",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "edwin-kremer",
"name": "Edwin Kremer",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "frances-brazier",
"name": "Frances Brazier",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -3,6 +3,7 @@
"name": "Fred Donck", "name": "Fred Donck",
"email": "", "email": "",
"gender": "male", "gender": "male",
"honorary_member": true,
"nationality": "Dutch", "nationality": "Dutch",
"thumbnail": "/afbeeldingen/personen/fred-donck-200x200.jpg", "thumbnail": "/afbeeldingen/personen/fred-donck-200x200.jpg",
"social": { "social": {

View file

@ -0,0 +1,17 @@
{
"id": "gerrit-a-smit",
"name": "Gerrit A. Smit",
"email": "",
"gender": "Male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "hendrik-jan-thomassen",
"name": "Hendrik Jan Thomassen",
"email": "",
"gender": "male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "jack-jansen",
"name": "Jack Jansen",
"email": "",
"gender": "Male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "jan-christiaan-van-winkel",
"name": "Jan Christiaan van Winkel",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "jos-alsters",
"name": "Jos Alsters",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "klaas-van-gend",
"name": "Klaas van Gend",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "luc-nieland",
"name": "Luc Nieland",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "marcel-nijenhof",
"name": "Marcel Nijenhof",
"email": "",
"gender": "Male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "marielle-klatten",
"name": "Mariëlle Klatten",
"email": "",
"gender": "Female",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -3,6 +3,7 @@
"name": "Mark Janssen", "name": "Mark Janssen",
"email": "", "email": "",
"gender": "male", "gender": "male",
"honorary_member": true,
"nationality": "Dutch", "nationality": "Dutch",
"thumbnail": "/afbeeldingen/personen/mark-janssen-200x200.jpg", "thumbnail": "/afbeeldingen/personen/mark-janssen-200x200.jpg",
"social": { "social": {

View file

@ -0,0 +1,17 @@
{
"id": "mark-overmeer",
"name": "Mark Overmeer",
"email": "",
"gender": "Male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "marten-van-gelderen",
"name": "Marten van Gelderen",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -3,6 +3,7 @@
"name": "Michael Boelen", "name": "Michael Boelen",
"email": "michael@nluug.nl", "email": "michael@nluug.nl",
"gender": "male", "gender": "male",
"honorary_member": true,
"nationality": "Dutch", "nationality": "Dutch",
"profile_page": "/organisatie/personen/michael-boelen/", "profile_page": "/organisatie/personen/michael-boelen/",
"thumbnail": "/afbeeldingen/personen/michael-boelen-200x200.png", "thumbnail": "/afbeeldingen/personen/michael-boelen-200x200.png",

View file

@ -0,0 +1,17 @@
{
"id": "monique-rours",
"name": "Monique Rours",
"email": "",
"gender": "Female",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "patricia-otter",
"name": "Patricia Otter",
"email": "",
"gender": "Female",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -3,6 +3,7 @@
"name": "Patrick Reijnen", "name": "Patrick Reijnen",
"email": "patrick@nluug.nl", "email": "patrick@nluug.nl",
"gender": "male", "gender": "male",
"honorary_member": true,
"nationality": "Dutch", "nationality": "Dutch",
"profile_page": "/organisatie/personen/patrick-reijnen/", "profile_page": "/organisatie/personen/patrick-reijnen/",
"thumbnail": "/afbeeldingen/personen/patrick-reijnen-200x200.jpg", "thumbnail": "/afbeeldingen/personen/patrick-reijnen-200x200.jpg",

View file

@ -0,0 +1,17 @@
{
"id": "piet-beertema",
"name": "Piet Beertema",
"email": "",
"gender": "Male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "pieter-paul-spiertz",
"name": "Pieter-Paul Spiertz",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "rene-pluis",
"name": "René Pluis",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -3,6 +3,7 @@
"name": "Rudi van Drunen", "name": "Rudi van Drunen",
"email": "", "email": "",
"gender": "male", "gender": "male",
"honorary_member": true,
"nationality": "Dutch", "nationality": "Dutch",
"thumbnail": "/afbeeldingen/personen/rudi-van-drunen-200x200.jpg", "thumbnail": "/afbeeldingen/personen/rudi-van-drunen-200x200.jpg",
"websites": [{ "websites": [{

View file

@ -0,0 +1,17 @@
{
"id": "ted-lindgreen",
"name": "Ted Lindgreen",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "teus-hagen",
"name": "Teus Hagen",
"email": "",
"gender": "Male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "theo-de-ridder",
"name": "Theo de Ridder",
"email": "",
"gender": "Male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "walter-belgers",
"name": "Walter Belgers",
"email": "",
"gender": "Male",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "willem-de-vries",
"name": "Willem de Vries",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -0,0 +1,17 @@
{
"id": "wytze-van-der-raay",
"name": "Wytze van der Raay",
"email": "",
"gender": "",
"honorary_member": true,
"nationality": "Dutch",
"thumbnail": "",
"social": {
"github": "",
"twitter": "",
"instagram": "",
"linkedin": "",
"mastodon": "",
"mastodon_url": ""
}
}

View file

@ -47,7 +47,6 @@
</div> </div>
</main> </main>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
</body>
{{ partialCached "scripts_loadlast.html" . }} {{ partialCached "scripts_loadlast.html" . }}
</body>
</html> </html>

View file

@ -0,0 +1,13 @@
{{ define "main" }}
{{ .Content }}
<h2>Ereleden</h2>
<ul>
{{ range $key,$val := $.Site.Data.personen }}
{{ if eq $val.honorary_member true }}
<li>{{ if .profile_page }}<a href="{{ .profile_page }}">{{ .name }}</a>{{ else }}{{ .name }}{{ end }}</li>
{{ end }}
{{ end }}
</ul>
{{ end }}

View file

@ -1,11 +1,12 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }} {{ .Content }}
{{ if .Params.active_members }}
<section> <section>
<h2>Actieve leden</h2> <h2>Actieve leden</h2>
{{ if .Params.active_members }}
{{ .Scratch.Set "active_members" .Params.active_members }} {{ .Scratch.Set "active_members" .Params.active_members }}
{{ partial "show-active-members-small.html" . }} {{ partial "show-active-members-small.html" . }}
{{ end }}
</section> </section>
{{ end }} {{ end }}
{{ end }}

View file

@ -5,12 +5,12 @@
<title>{{ if eq .IsHome true }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title> <title>{{ if eq .IsHome true }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
<meta name="description" content="{{ if ne .Description "" }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}"> <meta name="description" content="{{ if ne .Description "" }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<!-- Social media --> <!-- Social media -->
{{ template "_internal/opengraph.html" . }} {{ partial "opengraph/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }} {{ partial "opengraph/twitter_cards.html" . }}
<link rel="canonical" href="{{ .Permalink }}"> <link rel="canonical" href="{{ .Permalink }}">
<link rel="icon" href="{{ absURL "assets/favicon.ico" }}"> <link rel="icon" href="{{ absURL "assets/favicon.ico" }}">
<link rel="alternate" type="application/atom+xml" title="{{ .Site.Title }}" href="{{ absURL "atom.xml" }}" /> <link rel="alternate" type="application/atom+xml" title="{{ .Site.Title }}" href="{{ absURL "atom.xml" }}">
<link rel="alternate" type="application/json" title="{{ .Site.Title }}" href="{{ absURL "feed.json" }}" /> <link rel="alternate" type="application/json" title="{{ .Site.Title }}" href="{{ absURL "feed.json" }}">
<link rel="shortcut icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII="> <link rel="shortcut icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=">
{{ partialCached "style.html" . }} {{ partialCached "style.html" . }}

View file

@ -0,0 +1,24 @@
{{ $images := $.Resources.ByType "image" }}
{{ $featured := $images.GetMatch "*feature*" }}
{{ if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end }}
{{ if not $featured }}
{{ $featured = resources.Get "/opengraph/background.png" }}
{{ $size := 80 }}
{{ $title := $.LinkTitle }}
{{ if gt (len $title) 20 }}
{{ $size = 70 }}
{{ end }}
{{ $text := $title }}
{{ $textOptions := dict
"color" "#1D3160"
"size" $size
"lineSpacing" 10
"x" 65 "y" 80
"font" (resources.Get "/opengraph/mulish-black.ttf")
}}
{{ $featured = $featured | images.Filter (images.Text $text $textOptions) }}
{{ end }}
{{ return $featured }}

View file

@ -0,0 +1,42 @@
<meta property="og:title" content="{{ .Title }}">
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
<meta property="og:url" content="{{ .Permalink }}">
{{- with $.Params.images -}}
{{- range first 6 . }}<meta property="og:image" content="{{ . | absURL }}">{{ end -}}
{{- else -}}
{{- $featured := partial "opengraph/get-featured-image.html" . }}
{{- with $featured -}}
<meta property="og:image" content="{{ $featured.Permalink }}">
{{- else -}}
{{- with $.Site.Params.images }}<meta property="og:image" content="{{ index . 0 | absURL }}">{{ end -}}
{{- end -}}
{{- end -}}
{{- if .IsPage }}
{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}}
<meta property="article:section" content="{{ .Section }}">
{{ with .PublishDate }}<meta property="article:published_time" {{ .Format $iso8601 | printf "content=%q" | safeHTMLAttr }}>{{ end }}
{{ with .Lastmod }}<meta property="article:modified_time" {{ .Format $iso8601 | printf "content=%q" | safeHTMLAttr }}>{{ end }}
{{- end -}}
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}">{{ end }}
{{- with .Params.locale }}<meta property="og:locale" content="{{ . }}">{{ end }}
{{- with .Site.Params.title }}<meta property="og:site_name" content="{{ . }}">{{ end }}
{{- with .Params.videos }}{{- range . }}
<meta property="og:video" content="{{ . | absURL }}">
{{ end }}{{ end }}
{{- /* If it is part of a series, link to related articles */}}
{{- $permalink := .Permalink }}
{{- $siteSeries := .Site.Taxonomies.series }}
{{ with .Params.series }}{{- range $name := . }}
{{- $series := index $siteSeries ($name | urlize) }}
{{- range $page := first 6 $series.Pages }}
{{- if ne $page.Permalink $permalink }}<meta property="og:see_also" content="{{ $page.Permalink }}">{{ end }}
{{- end }}
{{ end }}{{ end }}
{{- /* Facebook Page Admin ID for Domain Insights */}}
{{- with .Site.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}">{{ end }}

View file

@ -0,0 +1,22 @@
{{- with $.Params.images -}}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{ index . 0 | absURL }}">
{{ else -}}
{{- $featured := partial "opengraph/get-featured-image.html" . }}
{{- with $featured -}}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{ $featured.Permalink }}">
{{- else -}}
{{- with $.Site.Params.images -}}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{ index . 0 | absURL }}">
{{ else -}}
<meta name="twitter:card" content="summary"/>
{{- end -}}
{{- end -}}
{{- end }}
<meta name="twitter:title" content="{{ .Title }}">
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}">
{{ with .Site.Social.twitter -}}
<meta name="twitter:site" content="@{{ . }}">
{{ end -}}

View file

@ -1,5 +1,3 @@
<script src="{{ "js/search.js" | absURL }}"></script>
{{ $assetBusting := not .Site.Params.disableAssetsBusting }} {{ $assetBusting := not .Site.Params.disableAssetsBusting }}
{{ $scripts := getJSON "assets/js/scripts.json" }} {{ $scripts := getJSON "assets/js/scripts.json" }}

View file

@ -1,4 +1,3 @@
{{ $size_in_pixels := 150 }} {{ $size_in_pixels := 150 }}
<div class="grid-team-members-small-photos"> <div class="grid-team-members-small-photos">
@ -8,9 +7,9 @@
{{ if .thumbnail }} {{ if .thumbnail }}
<figure> <figure>
{{ if .profile_page }} {{ if .profile_page }}
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" /></a> <a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}"></a>
{{ else }} {{ else }}
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" /> <img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}">
{{ end }} {{ end }}
<figcaption> <figcaption>
<small><strong>{{ .name }}</strong></small> <small><strong>{{ .name }}</strong></small>

View file

@ -1,4 +1,3 @@
{{ $size_in_pixels := 150 }} {{ $size_in_pixels := 150 }}
<div class="grid-team-members-small-photos"> <div class="grid-team-members-small-photos">
@ -8,9 +7,9 @@
{{ if .thumbnail }} {{ if .thumbnail }}
<figure> <figure>
{{ if .profile_page }} {{ if .profile_page }}
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" /></a> <a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}"></a>
{{ else }} {{ else }}
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" /> <img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}">
{{ end }} {{ end }}
<figcaption> <figcaption>
<small><strong>{{ .name }}</strong></small> <small><strong>{{ .name }}</strong></small>

View file

@ -16,9 +16,9 @@
{{ if .thumbnail }} {{ if .thumbnail }}
<figure> <figure>
{{ if .profile_page }} {{ if .profile_page }}
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" /></a> <a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}"></a>
{{ else }} {{ else }}
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" /> <img src="{{ .thumbnail }}" alt="Foto van {{ .name }}">
{{ end }} {{ end }}
<figcaption> <figcaption>
<strong>{{ .name }}</strong> <strong>{{ .name }}</strong>