summaryrefslogtreecommitdiff
path: root/layouts/_default/shows.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/shows.html')
-rw-r--r--layouts/_default/shows.html22
1 files changed, 0 insertions, 22 deletions
diff --git a/layouts/_default/shows.html b/layouts/_default/shows.html
deleted file mode 100644
index 404ebc3..0000000
--- a/layouts/_default/shows.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{{ define "main" }}
- {{ if .Sections }}
- <h2>YouTube Shows</h2>
- <p>I make and host YouTube shows about programming and Linux.</p>
- <ul>
- {{ range sort .Sections "Title" "asc" }}
- <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
- {{ end }}
- </ul>
- {{ else }}
- <h2>{{ .Title }}</h2>
- <p>{{ .Params.Summary }}</p>
- <p>The YouTube playlist can be found <a href="https://www.youtube.com/playlist?list={{ .Params.PlaylistId }}">here</a>.</p>
- <p>Subscribe to the show posts by using this <a href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}">RSS link</a>.</p>
- <h3>Episodes</h3>
- <ul>
- {{ range (where .Data.Pages "Type" "shows") }}
- <li>{{ .Date.Format "2006-01-01" }} - {{ .Title }}. <a href="https://www.youtube.com/watch?v={{ .Params.VideoId }}">Video</a> | <a href="{{ .RelPermalink }}">Post</a></li>
- {{ end }}
- </ul>
- {{ end }}
-{{ end }}