diff options
Diffstat (limited to 'layouts')
| -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 | ||||
| -rw-r--r-- | layouts/partials/footer.html | 2 | ||||
| -rw-r--r-- | layouts/partials/head.html | 13 | ||||
| -rw-r--r-- | layouts/partials/header.html | 1 | ||||
| -rw-r--r-- | layouts/partials/nav.html | 8 | ||||
| -rw-r--r-- | layouts/shortcodes/posts/recent.html | 6 | ||||
| -rw-r--r-- | layouts/shortcodes/shows/recent_episodes.html | 6 | ||||
| -rw-r--r-- | layouts/shortcodes/youtube/playlist_url.html | 1 |
12 files changed, 0 insertions, 104 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 }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html deleted file mode 100644 index b7245aa..0000000 --- a/layouts/partials/footer.html +++ /dev/null @@ -1,2 +0,0 @@ -© {{ now.Year }} David T. Sadler. Theme adapted from <a href="https://github.com/panr/hugo-theme-terminal/" target="_blank">hugo-theme-terminal</a>. - diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 4bc5333..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,13 +0,0 @@ -<meta charset="utf-8"> -<title>{{ .Title }} · {{ .Site.Title }}</title> -<meta name="description" content="{{ .Description }}"> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<link rel="shortcut icon" href="/img/green.png"> -<link rel="canonical" href="{{ .Permalink }}"> -{{ with .OutputFormats.Get "rss" -}} - {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} -{{ end -}} -{{ $css := resources.Get "css/style.css" | resources.Minify | resources.Fingerprint }} -<link rel="stylesheet" href="{{ $css.RelPermalink }}"> -{{ $css := resources.Get "css/syntax.css" | resources.Minify | resources.Fingerprint }} -<link rel="stylesheet" href="{{ $css.RelPermalink }}"> diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index 9aff9bd..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1 +0,0 @@ -<div><a href="{{ $.Site.BaseURL | relURL }}">{{ .Site.Params.Name }}</a></div> diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html deleted file mode 100644 index 17e4e8d..0000000 --- a/layouts/partials/nav.html +++ /dev/null @@ -1,8 +0,0 @@ -<nav> - <ul> - {{ range .Site.Menus.main }} - <li><a href="{{ .URL | relURL }}" title="{{ .Title}}">{{ .Name }}</a></li> - {{ end }} - </ul> -</nav> - diff --git a/layouts/shortcodes/posts/recent.html b/layouts/shortcodes/posts/recent.html deleted file mode 100644 index f4b28ca..0000000 --- a/layouts/shortcodes/posts/recent.html +++ /dev/null @@ -1,6 +0,0 @@ -<ul> - {{ range first 5 (where .Site.RegularPages "Section" "posts") }} - <li>{{ .Date.Format "2006-01-02" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li> - {{ end }} -</ul> - diff --git a/layouts/shortcodes/shows/recent_episodes.html b/layouts/shortcodes/shows/recent_episodes.html deleted file mode 100644 index fc01a57..0000000 --- a/layouts/shortcodes/shows/recent_episodes.html +++ /dev/null @@ -1,6 +0,0 @@ -<ul> - {{ range first 5 (where (where .Site.RegularPages "Section" "shows") ".Parent.Title" (.Get 0)) }} - <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> - diff --git a/layouts/shortcodes/youtube/playlist_url.html b/layouts/shortcodes/youtube/playlist_url.html deleted file mode 100644 index cfdcf05..0000000 --- a/layouts/shortcodes/youtube/playlist_url.html +++ /dev/null @@ -1 +0,0 @@ -https://www.youtube.com/playlist?list={{ .Get 0 }} |
