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:
parent
77ef74e23d
commit
7f626cd7ee
9
main-site/content/stream/_index.md
Normal file
9
main-site/content/stream/_index.md
Normal 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 >}}
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user