summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-02-17 19:46:17 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-02-17 19:46:17 +0000
commit12b052b1f480c5a95acd1477e28ce76f84ff7932 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /layouts/_default
parent0b68a4fd6af7383ddd5c41d591361f1d3a5d9050 (diff)
Remove everything
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html11
-rw-r--r--layouts/_default/home.html4
-rw-r--r--layouts/_default/posts.html9
-rw-r--r--layouts/_default/shows.html22
-rw-r--r--layouts/_default/single.html21
5 files changed, 0 insertions, 67 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
deleted file mode 100644
index 8b980fa..0000000
--- a/layouts/_default/baseof.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>{{ partial "head.html" . }}</head>
- <body>
- <header>{{ partial "header.html" . }}</header>
- <nav>{{ partial "nav.html" . }}</nav>
- <main>{{ block "main" . }}{{ end }}</main>
- <footer>{{ partial "footer.html" . }}</footer>
- </body>
-</html>
-
diff --git a/layouts/_default/home.html b/layouts/_default/home.html
deleted file mode 100644
index d70be7e..0000000
--- a/layouts/_default/home.html
+++ /dev/null
@@ -1,4 +0,0 @@
-{{ define "main" }}
- {{ .Content }}
-{{ end }}
-
diff --git a/layouts/_default/posts.html b/layouts/_default/posts.html
deleted file mode 100644
index e3be933..0000000
--- a/layouts/_default/posts.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{ define "main" }}
- <p>I write about programming and Linux topics that are of interest to me.</p>
- <p>Subscribe to the blog by using this <a href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}">RSS link</a>.</p>
- <ul>
- {{ range (where .Data.Pages "Type" "posts") }}
- <li>{{ .Date.Format "2006-01-01" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
- {{ end }}
- </ul>
-{{ end }}
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 }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
deleted file mode 100644
index 4fc7064..0000000
--- a/layouts/_default/single.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{{ define "main" }}
- <article>
- <h1>{{ .Title }}</h1>
- {{ .Content }}
- </article>
- {{ if or .NextInSection .PrevInSection }}
- <nav class="pagination">
- <hr/>
- <p>More Episodes</p>
- <ul>
- {{ if .PrevInSection }}
- <li class="prev"><a href="{{ .PrevInSection.Permalink }}">« {{ .PrevInSection.Title }}</a></li>
- {{ end }}
- {{ if .NextInSection }}
- <li class="next"><a href="{{ .NextInSection.Permalink }}">{{ .NextInSection.Title }} »</a></li>
- {{ end }}
- </ul>
- <hr/>
- </nav>
- {{ end }}
-{{ end }}