forked from laurens/fediversity_website
		
	Eerste opzet voor het verzamelen van relevante communities
This commit is contained in:
		
							parent
							
								
									5d512572ec
								
							
						
					
					
						commit
						6735925a32
					
				
					 8 changed files with 85 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								content/community/_index.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								content/community/_index.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -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" | ||||
| --- | ||||
							
								
								
									
										14
									
								
								content/community/per-categorie/index.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								content/community/per-categorie/index.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -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" | ||||
| --- | ||||
							
								
								
									
										9
									
								
								data/community/ackspace.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								data/community/ackspace.yaml
									
										
									
									
									
										Normal file
									
								
							|  | @ -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). | ||||
							
								
								
									
										4
									
								
								data/community/cryptomuseum.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								data/community/cryptomuseum.yaml
									
										
									
									
									
										Normal file
									
								
							|  | @ -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. | ||||
							
								
								
									
										4
									
								
								data/community/homecomputermuseum.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								data/community/homecomputermuseum.yaml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| name: HomeComputerMuseum | ||||
| url: https://www.homecomputermuseum.nl/ | ||||
| category: museum | ||||
| description: Een museum met oude computerapparatuur in Helmond (Noord-Brabant). | ||||
							
								
								
									
										3
									
								
								data/community/internetsocietynederland.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								data/community/internetsocietynederland.yaml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| name: Internet Society Nederland | ||||
| url: https://isoc.nl/ | ||||
| category: overig | ||||
							
								
								
									
										4
									
								
								data/community/publicspaces.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								data/community/publicspaces.yaml
									
										
									
									
									
										Normal file
									
								
							|  | @ -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. | ||||
							
								
								
									
										33
									
								
								themes/nluug/layouts/community/section.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								themes/nluug/layouts/community/section.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -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 }} | ||||
|     <h3>{{ . | title }}</h3> | ||||
|     <blockquote> | ||||
|     {{ range where $communities "category" . }} | ||||
|       <div> | ||||
|         {{ if .url }} | ||||
|           <h4><a href="{{ .url }}" target="_blank" rel="noopener">{{ .name }}</a></h4> | ||||
|         {{ else }} | ||||
|           <h4>{{ .name }}</h4> | ||||
|         {{ end }} | ||||
|         <p>{{ .description }}</p> | ||||
|       </div> | ||||
|     {{ end }} | ||||
|     </blockquote> | ||||
|   {{ end }} | ||||
| 
 | ||||
| 
 | ||||
| {{ end }} | ||||
		Reference in a new issue