diff options
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/baseof.html | 11 | ||||
| -rw-r--r-- | layouts/_default/home.html | 4 | ||||
| -rw-r--r-- | layouts/_default/posts.html | 9 | ||||
| -rw-r--r-- | layouts/_default/shows.html | 22 | ||||
| -rw-r--r-- | layouts/_default/single.html | 21 |
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 }} |
