pi-www/layouts/lide/section.html

21 lines
554 B
HTML
Raw Permalink Normal View History

2022-04-11 22:33:00 +03:00
{{ 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 }}