21 lines
554 B
HTML
21 lines
554 B
HTML
{{ define "main" -}}
|
|
<!-- list.html -->
|
|
<h1>{{ .Title }}</h1>
|
|
{{ with .Content }}
|
|
<div class="index_content">
|
|
{{- . -}}
|
|
</div>
|
|
{{ end }}
|
|
{{ range .Data.Pages.ByWeight -}}
|
|
<a href="{{ .Permalink }}"><h2>{{ .Title }}</h2></a>
|
|
{{ with .Content }}
|
|
<div class="index_content">
|
|
{{- . -}}
|
|
</div>
|
|
{{ end }}
|
|
{{ if .Params.role }}
|
|
{{ partial "whole-page-fragments/team/team-section" (dict "team" (where .Site.Data.lide.lide "roles" "intersect" (slice .Params.role) )) }}
|
|
{{ end }}
|
|
{{- end }}
|
|
{{- end }}
|