diff --git a/layouts/embed/index.html b/layouts/embed/index.html deleted file mode 100644 index 589e6ec..0000000 --- a/layouts/embed/index.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c4f110c..00b7e26 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -9,13 +9,13 @@ {{if .Params.video}} - - - + + + - + {{else}} {{if .Params.peertubeURL}} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index b7a9557..2975da8 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -15,12 +15,19 @@ {{end}} {{end}} +

Recent Content

{{range first 5 .Site.RegularPages}}
+ {{if .Params.video}} + + {{else}} + {{end}}

{{.Title}}

diff --git a/layouts/rss.xml b/layouts/rss.xml index f575599..aa35248 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -2,8 +2,12 @@ {{ .Title }} {{ .Permalink }} - {{.Params.description}} - + {{.Site.Data.details.description}} + + Libre Solutions Network + https://libresolutions.network + {{.Site.BaseURL}}{{.Site.Data.details.logo}} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} {{.}}{{end}} {{ with .OutputFormats.Get "RSS" }} @@ -18,10 +22,10 @@ {{ .Permalink }} {{.Params.image}} {{ if .Params.audio }} - + {{end}} {{ if .Params.video}} - + {{end}} {{- .Content | html -}} diff --git a/layouts/shortcodes/link-preview.html b/layouts/shortcodes/link-preview.html index 79159db..af21b5e 100644 --- a/layouts/shortcodes/link-preview.html +++ b/layouts/shortcodes/link-preview.html @@ -1,5 +1,7 @@ + {{if .Get 3}} + {{end}}

{{ .Get 1 }}

{{.Get 2 }}

diff --git a/layouts/shortcodes/video-player.html b/layouts/shortcodes/video-player.html new file mode 100644 index 0000000..652c50c --- /dev/null +++ b/layouts/shortcodes/video-player.html @@ -0,0 +1,27 @@ + + + + diff --git a/static/css/theme.css b/static/css/theme.css index 594317a..9d3e19e 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -42,6 +42,9 @@ nav{ border-radius:30%; } +h1{ + font-size:250%; +} p { } @@ -159,6 +162,7 @@ section { padding: 1.25rem; border-radius: 1rem; min-width: 30vw; + font-size:125%; } article { @@ -212,15 +216,22 @@ article img, article video, article iframe { align-self: center; - max-width: 40rem; + max-width: 60rem; + width: 80%; + min-height: fit-content; +} +article iframe{ + height:30rem; } -section iframe, -article iframe { - width: 80%; - height: 25rem; +article>section>a{ + display:flex; + flex-direction: column; + align-items: center; } + + table{ width:fit-content; } @@ -246,9 +257,6 @@ video{ text-align: left; max-width: 80%; } -.link-preview>*{ - margin:0.5rem; -} .link-preview>img{ max-width: 20%; } @@ -285,7 +293,9 @@ aside .listing img{ padding:0; } .recent img, -.featured img{ +.featured img, +.recent video, +.featured video{ max-width:20rem; max-height:10rem; margin:1rem;