2022-10-09 03:33:41 +00:00
|
|
|
{{ define "main"}}
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<main>
|
|
|
|
<style>main { text-align: left; }</style>
|
|
|
|
{{ .Content }}
|
|
|
|
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
|
|
|
|
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
|
|
|
|
{{ range .Pages }}
|
|
|
|
{{ $dataJ := dict "created_at" .Date
|
|
|
|
"url" .Params.syndication
|
|
|
|
"quality_grade" .Params.quality_grade
|
|
|
|
"place_guess" .Params.place_guess
|
|
|
|
"photos" .Params.photos
|
|
|
|
"taxon" .Params.taxon
|
|
|
|
}}
|
|
|
|
|
|
|
|
{{ .Scratch.Set "obs" $dataJ }}
|
|
|
|
{{ .Scratch.Set "obs_url" .Permalink }}
|
2023-01-05 05:35:01 +00:00
|
|
|
{{ partial "external/inat.html" . }}
|
2022-10-09 03:33:41 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</main>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
{{ end }}
|