diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index f166787..84e1551 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -14,7 +14,9 @@ {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }}{{ if .Params.video}} + {{ .Permalink }}{{ if .Params.gif}} + + {{end}}{{ if .Params.video}} {{end}}{{ if .Params.audio}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0c54b0f..072cec3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,6 +16,7 @@ + {{else}} {{if .Params.peertubeURL}} diff --git a/layouts/partials/item.html b/layouts/partials/item.html index d9c1570..6efd43f 100644 --- a/layouts/partials/item.html +++ b/layouts/partials/item.html @@ -1,5 +1,11 @@
+ + {{ if .Params.gif}} + + {{else}} {{ if .Params.video}}

{{.Title}}

{{.Params.description}}

+ {{if .GetTerms "tags"}}
{{ range (.GetTerms "tags")}} {{.LinkTitle}} {{end}}
+ {{end}}
\ No newline at end of file diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 6eb2683..aa08ab9 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -5,6 +5,11 @@ {{range first 3 .Site.RegularPages}}
+ {{ if .Params.gif}} + + {{else}} {{ if .Params.video}} {{end}} {{end}} + {{end}}

{{.Title}}

@@ -42,6 +48,7 @@

{{.description}}

+
{{end}} {{end}} \ No newline at end of file diff --git a/static/css/theme.css b/static/css/theme.css index 2efd202..85d0f4b 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -317,7 +317,7 @@ aside .listing img{ .featured img, .recent video, .featured video{ - max-width: 10vw; + max-width:15vw; margin:0.25rem; } @@ -396,6 +396,16 @@ aside .listing img{ flex-direction: column; align-items: center; } + .recent img, +.featured img, +.recent video, +.featured video{ + max-width:100%; + margin:0.25rem; +} + .listing{ + flex-direction: column; + } } #tags{