From 6735925a325d945a85527125473b68565d1a1730 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 23 May 2023 21:06:53 +0200 Subject: [PATCH] Eerste opzet voor het verzamelen van relevante communities --- content/community/_index.md | 14 +++++++++ content/community/per-categorie/index.md | 14 +++++++++ data/community/ackspace.yaml | 9 ++++++ data/community/cryptomuseum.yaml | 4 +++ data/community/homecomputermuseum.yaml | 4 +++ data/community/internetsocietynederland.yaml | 3 ++ data/community/publicspaces.yaml | 4 +++ themes/nluug/layouts/community/section.html | 33 ++++++++++++++++++++ 8 files changed, 85 insertions(+) create mode 100644 content/community/_index.md create mode 100644 content/community/per-categorie/index.md create mode 100644 data/community/ackspace.yaml create mode 100644 data/community/cryptomuseum.yaml create mode 100644 data/community/homecomputermuseum.yaml create mode 100644 data/community/internetsocietynederland.yaml create mode 100644 data/community/publicspaces.yaml create mode 100644 themes/nluug/layouts/community/section.html diff --git a/content/community/_index.md b/content/community/_index.md new file mode 100644 index 0000000..fb6f2fb --- /dev/null +++ b/content/community/_index.md @@ -0,0 +1,14 @@ +--- +categories: +- community +date: 2023-05-23T19:36:01+02:00 +description: "De NLUUG is niet alleen en heeft een grote overlap met andere initiatieven. Op deze pagina verzamelen wij andere interressante gemeenschappen." +review: + last_review: 2023-05-23 + reviewed_by: + period: 365 +slug: +tags: +- community +title: "Community" +--- diff --git a/content/community/per-categorie/index.md b/content/community/per-categorie/index.md new file mode 100644 index 0000000..6995a9d --- /dev/null +++ b/content/community/per-categorie/index.md @@ -0,0 +1,14 @@ +--- +categories: +- community +date: 2023-05-23T19:36:01+02:00 +description: "Alle initiatieven in Nederland of erbuiten die per categorie zijn ondergebracht." +review: + last_review: 2023-05-23 + reviewed_by: + period: 365 +slug: +tags: +- community +title: "Community per categorie" +--- diff --git a/data/community/ackspace.yaml b/data/community/ackspace.yaml new file mode 100644 index 0000000..c5f518f --- /dev/null +++ b/data/community/ackspace.yaml @@ -0,0 +1,9 @@ +name: ACKspace +url: https://ackspace.nl/ +address: + street_address: Kloosterweg 1 + postal_code: 6412 CN + city: Heerlen + province: Limburg +category: hackerspaces +description: Hackerspace in Heerlen (Limburg). diff --git a/data/community/cryptomuseum.yaml b/data/community/cryptomuseum.yaml new file mode 100644 index 0000000..172075e --- /dev/null +++ b/data/community/cryptomuseum.yaml @@ -0,0 +1,4 @@ +name: Crypto Museum +url: https://cryptomuseum.com/ +category: museum +description: Een museum om de techniek en geschiedenis rondom crypto vast te leggen. diff --git a/data/community/homecomputermuseum.yaml b/data/community/homecomputermuseum.yaml new file mode 100644 index 0000000..93f9625 --- /dev/null +++ b/data/community/homecomputermuseum.yaml @@ -0,0 +1,4 @@ +name: HomeComputerMuseum +url: https://www.homecomputermuseum.nl/ +category: museum +description: Een museum met oude computerapparatuur in Helmond (Noord-Brabant). diff --git a/data/community/internetsocietynederland.yaml b/data/community/internetsocietynederland.yaml new file mode 100644 index 0000000..1a9469c --- /dev/null +++ b/data/community/internetsocietynederland.yaml @@ -0,0 +1,3 @@ +name: Internet Society Nederland +url: https://isoc.nl/ +category: overig diff --git a/data/community/publicspaces.yaml b/data/community/publicspaces.yaml new file mode 100644 index 0000000..41c4f98 --- /dev/null +++ b/data/community/publicspaces.yaml @@ -0,0 +1,4 @@ +name: PublicSpaces +url: https://publicspaces.net/ +category: samenwerkingsverband +description: Een unieke coalitie van verschillende publieke organisaties, zoals publieke omroepen, erfgoed-instellingen, festivals, bibliotheken, musea en onderwijs. diff --git a/themes/nluug/layouts/community/section.html b/themes/nluug/layouts/community/section.html new file mode 100644 index 0000000..c60ba23 --- /dev/null +++ b/themes/nluug/layouts/community/section.html @@ -0,0 +1,33 @@ +{{ define "main" }} + + {{ $communities := slice }} + {{ range sort site.Data.community "name" "asec" }} + {{ $communities = $communities | append . }} + {{ end }} + + {{ $categories := slice }} + {{ range .Site.Data.community }} + {{ if .category }} + {{ $categories = $categories | append .category }} + {{ end }} + {{ end }} + {{ $categories = uniq $categories }} + + {{ range index $categories }} +

{{ . | title }}

+
+ {{ range where $communities "category" . }} +
+ {{ if .url }} +

{{ .name }}

+ {{ else }} +

{{ .name }}

+ {{ end }} +

{{ .description }}

+
+ {{ end }} +
+ {{ end }} + + +{{ end }}