forked from laurens/fediversity_website
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			678 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			678 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{ define "main" }}
 | 
						|
  {{ with .Title }}<h1>{{ . }}</h1>{{ end }}
 | 
						|
  <div>{{ .Content }}</div>
 | 
						|
 | 
						|
  {{ if .Params.presentation }}
 | 
						|
  <h2>Presentatie</h2>
 | 
						|
    {{ if .Params.presentation.filename }}
 | 
						|
    <a href="/bestanden/presentaties/{{ .Params.presentation.filename }}">Presentatie</a>
 | 
						|
    {{ end }}
 | 
						|
  {{ end }}
 | 
						|
 | 
						|
  {{ if .Params.recording }}
 | 
						|
  <h2>Opname</h2>
 | 
						|
    {{ if .Params.recording.platform }}
 | 
						|
      {{ if eq .Params.recording.platform "youtube" }}{{ partial "show-svg-icon.html" (dict "context" . "icon" "youtube") }}{{ end }}
 | 
						|
    {{ end }}
 | 
						|
    {{ if .Params.recording.url }}
 | 
						|
      <a href="{{ .Params.recording.url }}">Bekijk opname</a>
 | 
						|
    {{ end }}
 | 
						|
  {{ end }}
 | 
						|
 | 
						|
{{ end }}
 |