2022-05-14 22:56:35 -04:00
|
|
|
{{ define "main"}}
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<main>
|
2022-05-14 23:27:59 -04:00
|
|
|
<style>main { text-align: left; }</style>
|
2022-05-14 22:56:35 -04:00
|
|
|
{{ partial "search.html" . }}
|
2022-06-02 20:20:32 -04:00
|
|
|
{{ .Content }}
|
2022-05-14 22:56:35 -04:00
|
|
|
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
|
|
|
|
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
|
|
|
|
{{ range .Pages }}
|
2022-06-02 20:20:32 -04:00
|
|
|
{{ $dataJ := dict "account" .Params.account
|
|
|
|
"account.display_name" .Params.account.display_name
|
|
|
|
"created_at" .Date
|
|
|
|
"content" .Content
|
|
|
|
"media_attachments" .Params.media_attachments
|
|
|
|
"Permalink" .Permalink
|
|
|
|
"tags" .Params.tags
|
|
|
|
"url" .Params.syndication
|
|
|
|
"replies_count" .Params.replies_count
|
|
|
|
"reblogs_count" .Params.reblogs_count
|
|
|
|
"favourites_count" .Params.favourites_count
|
|
|
|
}}
|
|
|
|
|
|
|
|
{{ .Scratch.Set "toot" $dataJ }}
|
2023-01-05 00:35:01 -05:00
|
|
|
{{ partial "external/toot.html" . }}
|
2022-05-14 23:27:59 -04:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2022-05-14 22:56:35 -04:00
|
|
|
</main>
|
|
|
|
{{ end }}
|