29 lines
		
	
	
		
			977 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			977 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{ define "main" }}
 | |
| <header class="my-8">
 | |
|   <p class="text-center font-iosevka">Facilitator</p>
 | |
|   <h1 class="text-4xl font-bold text-center capitalize">{{ .Title }}</h1>
 | |
| </header>
 | |
| <main class="container mx-auto">
 | |
|   <ul class="mt-4 space-y-4">
 | |
|     {{ $pages := .Pages }}
 | |
|     {{ partial "article-list.html" (dict "Pages" $pages) }}
 | |
|   </ul>
 | |
|   
 | |
|   {{ if gt .Site.Taxonomies.facilitator 1 }}
 | |
|   <section>
 | |
|     <h2 class="text-4xl my-8 font-bold text-center">Other Facilitators</h2>
 | |
|     <div class="tag-cloud font-iosevka text-gray-600">
 | |
|       {{ range $facilitator, $pages := .Site.Taxonomies.facilitator }}
 | |
|         {{ if ne $facilitator $.Title }}
 | |
|         <a href="{{ "/facilitator/" | relLangURL }}{{ $facilitator | urlize }}"
 | |
|            class="tag text-sm inline-block p-2 my-1 border border-gray-100 rounded-lg hover:bg-yellow-100 whitespace-nowrap">
 | |
|           {{ $facilitator }}
 | |
|         </a>
 | |
|         {{ end }}
 | |
|       {{ end }}
 | |
|     </div>
 | |
|   </section>
 | |
|   {{ end }}
 | |
| </main>
 | |
| {{ end }}
 |