website-theme/layouts/toots/single.html

27 lines
803 B
HTML
Raw Normal View History

2022-05-15 02:56:35 +00:00
{{ define "main"}}
{{ .Scratch.Set "customTitleHeaderSet" true }}
{{ .Scratch.Set "customTitleHeader" "Toots" }}
{{ .Scratch.Set "customTitleHeaderLink" "/toots" }}
{{ partial "header.html" . }}
<main>
2022-06-03 00:20:32 +00: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 05:35:01 +00:00
{{ partial "external/toot.html" . }}
2022-05-15 02:56:35 +00:00
</main>
2022-06-03 00:20:32 +00:00
2022-05-15 02:56:35 +00:00
{{ partial "footer.html" . }}
{{ end }}