diff options
Diffstat (limited to 'themes/markskitchen/layouts')
-rw-r--r-- | themes/markskitchen/layouts/404.html | 0 | ||||
-rw-r--r-- | themes/markskitchen/layouts/_default/baseof.html | 9 | ||||
-rw-r--r-- | themes/markskitchen/layouts/_default/list.html | 22 | ||||
-rw-r--r-- | themes/markskitchen/layouts/_default/single.html | 21 | ||||
-rw-r--r-- | themes/markskitchen/layouts/partials/footer.html | 3 | ||||
-rw-r--r-- | themes/markskitchen/layouts/partials/head.html | 45 | ||||
-rw-r--r-- | themes/markskitchen/layouts/partials/header.html | 13 |
7 files changed, 0 insertions, 113 deletions
diff --git a/themes/markskitchen/layouts/404.html b/themes/markskitchen/layouts/404.html deleted file mode 100644 index e69de29..0000000 --- a/themes/markskitchen/layouts/404.html +++ /dev/null diff --git a/themes/markskitchen/layouts/_default/baseof.html b/themes/markskitchen/layouts/_default/baseof.html deleted file mode 100644 index 5dc4b24..0000000 --- a/themes/markskitchen/layouts/_default/baseof.html +++ /dev/null @@ -1,9 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - {{- partial "head.html" . -}} - <body> - {{- partial "header.html" . -}} - {{- block "main" . }}{{- end }} - {{- partial "footer.html" . -}} - </body> -</html> diff --git a/themes/markskitchen/layouts/_default/list.html b/themes/markskitchen/layouts/_default/list.html deleted file mode 100644 index 45c8631..0000000 --- a/themes/markskitchen/layouts/_default/list.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ define "head" }} -<link rel="stylesheet" href='{{ "css/list.css" | absURL }}'> -{{ end }} - -{{ define "main" }} -{{ if .Content }} -<main id="main" class="post"> - <article class="content"> - {{ .Content }} - </article> -{{ else }} -<main id="main"> - <ul> - {{ range .Pages }} - <li> - <a class="link" href="{{ .RelPermalink }}">{{ .Title }} <i class="item-date"> --- {{ .PublishDate.Format "January 2, 2006"}}</i></a> - </li> - {{ end }} - </ul> -{{ end}} -</main> -{{ end }} diff --git a/themes/markskitchen/layouts/_default/single.html b/themes/markskitchen/layouts/_default/single.html deleted file mode 100644 index 52e9c13..0000000 --- a/themes/markskitchen/layouts/_default/single.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ define "head" }} -<link rel="stylesheet" href='{{ "css/single.css" | absURL }}'> -{{ end }} - -{{ define "main" }} -<main id="main" class="post"> - <h1>{{ .Title }}</h1> - <div><i>{{ .PublishDate.Format "January 2, 2006"}}</i></div> - <article class="content"> - {{ .Content }} - </article> - {{ if ne .Params.tags nil }} - <div> - <b>Keywords: </b> - {{ range .Params.tags }} - <a class="link" href='{{ "tags" | absURL }}/{{ . | urlize }}'>#{{ . }}</a> - {{ end }} - </div> - {{ end }} -</main> -{{ end }} diff --git a/themes/markskitchen/layouts/partials/footer.html b/themes/markskitchen/layouts/partials/footer.html deleted file mode 100644 index ecf9420..0000000 --- a/themes/markskitchen/layouts/partials/footer.html +++ /dev/null @@ -1,3 +0,0 @@ -<footer> - <div>Mark Powers <<span class="email">mark</span>> © 2023 </div> -</footer> diff --git a/themes/markskitchen/layouts/partials/head.html b/themes/markskitchen/layouts/partials/head.html deleted file mode 100644 index 29e9f49..0000000 --- a/themes/markskitchen/layouts/partials/head.html +++ /dev/null @@ -1,45 +0,0 @@ -<head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - - <!-- author --> - <meta name="author" content="{{ .Site.Author.name }}"> - - <!-- description --> - <meta name="description" content="{{ .Site.Params.Description }}"> - - <!-- favicon --> - <link rel="icon" href="{{ .Site.Params.favicon | absURL }}"> - - <!-- keywords --> - {{ if .Keywords }} - <meta name="keywords" content="{{ range $key, $value := .Keywords }} {{ $value }} {{ end }}"> - {{ end }} - - <!-- permalink --> - <link rel="canonical" href="{{ .Permalink }}"> - - <!-- rss --> - {{ range .AlternativeOutputFormats -}} - {{ printf ` - <link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} - {{ end -}} - - <!-- custom feeds --> - <link rel="alternative" type="application/rss+xml" href="https://huginn.marks.kitchen/users/1/web_requests/23/reblogs.xml" title="Mark's Reblogs" /> - - <!-- schema --> - {{ template "_internal/schema.html" . }} - - <!-- style --> - <link media="screen" rel="stylesheet" href='{{ "css/common.css" | absURL }}'> - - <!-- title --> - {{ if .IsHome }} - <title>{{ .Site.Title }}</title> - {{ else }} - <title>{{ .Title }} - {{ .Site.Title }}</title> - {{ end }} - - {{ block "head" . }}{{ end }} -</head> diff --git a/themes/markskitchen/layouts/partials/header.html b/themes/markskitchen/layouts/partials/header.html deleted file mode 100644 index 97fec62..0000000 --- a/themes/markskitchen/layouts/partials/header.html +++ /dev/null @@ -1,13 +0,0 @@ -<header id="header"> - <h1> - <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> - </h1> - - <nav> - {{ range .Site.Menus.main }} - <span class="nav-bar-item"> - <a class="link" href="{{ .URL | safeURL }}">{{ .Name }}</a> - </span> - {{ end }} - </nav> -</header> |