You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

40 lines
961 B
HTML

<main>
<div class="container flex-grid">
<div class="main__content">
{{ if .Param "debug" }}
{{ .Kind }}
<br />
<!--{{ template "_internal/pagination.html" . }}-->
{{ $test := index .Pages 0 }}
<p>{{ printf "%#T" $test.Params.mydates }}</p>
<p>{{ printf "%#v" $test.Params.mydates }}</p>
<!--Select content linked to issues-->
{{ $grouped := .Data.Pages.GroupByParamDate "mydates" "2006-01-02" }}
<!--sort by most recent-->
{{ $sorted := sort $grouped "Key" "asc" }}
<h4>Grouped {{ len $sorted }} pages by key <mydates></h4>
{{ range $sorted }}
<h5>Group Key: {{ .Key }}</h5>
{{end}}
{{ end }}
<!-- protocol -->
<!-- events -->
</div>
{{partial "sidebar/markup" .}}
</div>
</main>