Hugo-based levitation.wales initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{{- /* Render data/collaborators.yaml, grouping by the single `past` flag. */ -}}
|
||||
{{- $all := hugo.Data.collaborators -}}
|
||||
{{- $current := where $all "past" "!=" true -}}
|
||||
{{- $past := where $all "past" true -}}
|
||||
<h2 id="collaborators">Collaborators</h2>
|
||||
<ul>
|
||||
{{- range $current }}
|
||||
{{- $u := .url }}
|
||||
<li>{{ if $u }}<a href="{{ $u }}">{{ end }}{{ .name }}{{ if $u }}</a>{{ end }}{{ with .affiliation }}, {{ . }}{{ end }}</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{- with $past }}
|
||||
<h2 id="wider-network">Wider network</h2>
|
||||
<ul>
|
||||
{{- range . }}
|
||||
{{- $u := .url }}
|
||||
<li>{{ if $u }}<a href="{{ $u }}">{{ end }}{{ .name }}{{ if $u }}</a>{{ end }}{{ with .affiliation }}, {{ . }}{{ end }}</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user