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
This commit is contained in:
shockrah 2023-11-09 00:13:23 -08:00
parent 77ef74e23d
commit 7f626cd7ee
3 changed files with 18 additions and 0 deletions
main-site
content/stream
themes/temper/layouts
_default
shortcodes

View File

@ -0,0 +1,9 @@
---
title: /feed
description: I stream sometimes on the world wide web
thumbnail: /img/stream.png
article: false
---
asdfasdf
{{< twitch tempersama >}}

View File

@ -9,6 +9,7 @@
<h5>/dev</h5>
{{ end }}
{{ end }}
<p>{{ .Content }}</p>
{{ $colors := slice "cyan" "yellow" "pink"}}
{{ $opts := len $colors }}
{{ range $i, $page := .Pages.ByDate.Reverse }}

View File

@ -0,0 +1,8 @@
<!-- Dimensions inspired by Terry A. Davis -->
<iframe
src="https://player.twitch.tv/?channel={{ .Get 0 }}&parent=temper.tv"
height="640"
width="480"
allowfullscreen>
</iframe>