mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-07-31 14:12:01 +00:00
Removed toots from overall theme
This commit is contained in:
parent
d507426ff0
commit
bcbfa17bb4
2 changed files with 0 additions and 51 deletions
|
@ -1,28 +0,0 @@
|
||||||
{{ define "main"}}
|
|
||||||
{{ partial "header.html" . }}
|
|
||||||
<main>
|
|
||||||
<style>main { text-align: left; }</style>
|
|
||||||
{{ partial "search.html" . }}
|
|
||||||
{{ .Content }}
|
|
||||||
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
|
|
||||||
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
|
|
||||||
{{ range .Pages }}
|
|
||||||
{{ $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 }}
|
|
||||||
{{ partial "external/toot.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</main>
|
|
||||||
{{ end }}
|
|
|
@ -1,23 +0,0 @@
|
||||||
{{ define "main"}}
|
|
||||||
{{ .Scratch.Set "customTitleHeaderSet" true }}
|
|
||||||
{{ .Scratch.Set "customTitleHeader" "Toots" }}
|
|
||||||
{{ .Scratch.Set "customTitleHeaderLink" "/toots" }}
|
|
||||||
{{ partial "header.html" . }}
|
|
||||||
<main>
|
|
||||||
{{ $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 }}
|
|
||||||
{{ partial "external/toot.html" . }}
|
|
||||||
</main>
|
|
||||||
{{ end }}
|
|
Loading…
Add table
Reference in a new issue