From 7f626cd7ee46faf7e9d8c2b44c43a45e8d3f9dc3 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 9 Nov 2023 00:13:23 -0800 Subject: [PATCH] Adding /stream NOTE: I'm yoloing the push for this because IDK if I need any refer's on the iframe probably not but leaving this note on the likely chance of it breaking. Testing locally proved to be somewhat annoying --- main-site/content/stream/_index.md | 9 +++++++++ main-site/themes/temper/layouts/_default/list.html | 1 + main-site/themes/temper/layouts/shortcodes/twitch.html | 8 ++++++++ 3 files changed, 18 insertions(+) create mode 100644 main-site/content/stream/_index.md create mode 100644 main-site/themes/temper/layouts/shortcodes/twitch.html diff --git a/main-site/content/stream/_index.md b/main-site/content/stream/_index.md new file mode 100644 index 0000000..640ae49 --- /dev/null +++ b/main-site/content/stream/_index.md @@ -0,0 +1,9 @@ +--- +title: /feed +description: I stream sometimes on the world wide web +thumbnail: /img/stream.png +article: false +--- + +asdfasdf +{{< twitch tempersama >}} diff --git a/main-site/themes/temper/layouts/_default/list.html b/main-site/themes/temper/layouts/_default/list.html index 3ef0765..df96075 100644 --- a/main-site/themes/temper/layouts/_default/list.html +++ b/main-site/themes/temper/layouts/_default/list.html @@ -9,6 +9,7 @@
/dev
{{ end }} {{ end }} +

{{ .Content }}

{{ $colors := slice "cyan" "yellow" "pink"}} {{ $opts := len $colors }} {{ range $i, $page := .Pages.ByDate.Reverse }} diff --git a/main-site/themes/temper/layouts/shortcodes/twitch.html b/main-site/themes/temper/layouts/shortcodes/twitch.html new file mode 100644 index 0000000..9b535d6 --- /dev/null +++ b/main-site/themes/temper/layouts/shortcodes/twitch.html @@ -0,0 +1,8 @@ + + +