diff --git a/layouts/shortcodes/audio.html b/layouts/shortcodes/audio.html index 88cb889..876fe4a 100644 --- a/layouts/shortcodes/audio.html +++ b/layouts/shortcodes/audio.html @@ -1,3 +1,126 @@ - \ No newline at end of file + +
+
+ + + + +
+
+

+ + +
+ +
\ No newline at end of file diff --git a/layouts/shortcodes/embed.html b/layouts/shortcodes/embed.html index 29d1e04..e7b4476 100644 --- a/layouts/shortcodes/embed.html +++ b/layouts/shortcodes/embed.html @@ -1,2 +1,2 @@ - \ No newline at end of file diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index 31abec8..1706da7 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -1,7 +1,8 @@ -{{ if .Get "href"}} +
+ {{ if .Get "href"}} {{end}} -{{.Get "alt"}} {{end}} +{{if .Get "caption"}} +

+ {{.Get "caption"}} {{if .Get "source"}}Source{{end}} + +

+{{end}} + +
\ No newline at end of file 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..34f3543 --- /dev/null +++ b/layouts/shortcodes/video-player.html @@ -0,0 +1,34 @@ + + + + diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index d35661a..a9aea63 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -1,4 +1,137 @@ - \ No newline at end of file + +
+
+ +
+ + + +

+
+ +
+ +

+ {{.Get "caption"}} {{if .Get "source"}}Source{{end}} + +

+
\ No newline at end of file diff --git a/layouts/shortcodes/webtorrent-video.html b/layouts/shortcodes/webtorrent-video.html index 8d1b80c..bab5ad4 100644 --- a/layouts/shortcodes/webtorrent-video.html +++ b/layouts/shortcodes/webtorrent-video.html @@ -16,22 +16,31 @@
- Peers: + Waiting for peers. + +
\ No newline at end of file diff --git a/layouts/shortcodes/yesterweb.html b/layouts/shortcodes/yesterweb.html new file mode 100644 index 0000000..fd90118 --- /dev/null +++ b/layouts/shortcodes/yesterweb.html @@ -0,0 +1,3 @@ +Previous + Random + Next \ No newline at end of file diff --git a/static/css/theme.css b/static/css/theme.css index 521f410..5a45443 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -143,6 +143,9 @@ article,main > div,main>nav{ margin-bottom:1.5rem; width:90%; } +aside { + min-width:40vw; +} article p, article h3, @@ -250,4 +253,16 @@ audio{ .link-preview>div>p{ text-decoration: none !important; color: var(--theme-color-secondary); +} + +.image-container{ + display:flex; + flex-direction: column; + align-items: center; + max-width: 95%; +} +.caption{ + padding-left:10%; + padding-right:10%; + max-width: 90%; } \ No newline at end of file