diff --git a/assets/css/style.css b/assets/css/style.css index 4bb124e..3676d36 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -329,9 +329,9 @@ footer { margin-bottom: 0; } .toot-avatar { display: inline-block; } -.toot .e-content img { border: 2px solid black; } +.toot img { border: 2px solid black; } -.toot .e-content p:first-of-type { +.toot .date { display: inline-block; } .toot-photos { diff --git a/layouts/toots/list.html b/layouts/toots/list.html index 23220ab..d26a543 100644 --- a/layouts/toots/list.html +++ b/layouts/toots/list.html @@ -1,41 +1,48 @@ {{ define "main"}} {{ partial "header.html" . }}
- + {{ partial "search.html" . }}

- This is an experimental page showing my toots from Mastodon. - Currently, this does not support boosts and it does not automatically refresh. - Feel free to check out + This is an experimental page showing my toots from Mastodon. + Currently, this does not support boosts and it does not automatically refresh. + Feel free to check out my profile at Fosstodon

{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}} {{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }} {{ range .Pages }}
-
- -

Tooted on

- {{ .Content | safeHTML }} - {{ if gt (len .Params.media_attachments) 0 }} -
- {{ range .Params.media_attachments}} - {{ if eq .type "image" }} - {{ .description }} - {{ end }} - {{ end }} -
- {{ end }} + +

Tooted on

+
+ {{ .Content | safeHTML }} + {{ if gt (len .Params.media_attachments) 0 }} +
+ {{ range .Params.media_attachments}} + {{ if eq .type "image" }} + {{ .description }} + {{ end }} + {{ end }} +
+ {{ end }} +
+ + {{ range .Params.tags }} + + {{ end }}
{{ .Params.replies_count }} {{ .Params.reblogs_count }} {{ .Params.favourites_count }} - | Source: {{ .Params.syndication }} + | Source: {{ .Params.syndication }}
-
- {{ end }} - {{ end }} + + {{ end }} + {{ end }}
{{ partial "footer.html" . }} {{ end }} diff --git a/layouts/toots/single.html b/layouts/toots/single.html index 0de7d16..451d647 100644 --- a/layouts/toots/single.html +++ b/layouts/toots/single.html @@ -4,28 +4,35 @@ {{ .Scratch.Set "customTitleHeaderLink" "/toots" }} {{ partial "header.html" . }}
-
-
- -

Tooted on

+
+ +

Tooted on

+
{{ .Content | safeHTML }} {{ if gt (len .Params.media_attachments) 0 }}
{{ range .Params.media_attachments}} - {{ if eq .type "image" }} - {{ .description }} - {{ end }} + {{ if eq .type "image" }} + {{ .description }} + {{ end }} {{ end }}
{{ end }} -
-
- {{ .Params.replies_count }} - {{ .Params.reblogs_count }} - {{ .Params.favourites_count }} - | Source: {{ .Params.syndication }} -
-
+
+ + {{ range .Params.tags }} + + {{ end }} +
+ {{ .Params.replies_count }} + {{ .Params.reblogs_count }} + {{ .Params.favourites_count }} + | Source: {{ .Params.syndication }} +
+
{{ partial "footer.html" . }} {{ end }}