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:
@@ -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 }}
|
||||
|
||||
8
main-site/themes/temper/layouts/shortcodes/twitch.html
Normal file
8
main-site/themes/temper/layouts/shortcodes/twitch.html
Normal 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>
|
||||
|
||||
Reference in New Issue
Block a user