summaryrefslogtreecommitdiff
path: root/themes/markskitchen/layouts/_default
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2024-10-24 08:14:08 -0500
committerMark Powers <mark@marks.kitchen>2024-10-24 08:14:08 -0500
commit511cbfbafde4ff463751fadf8dd15d3b7eb41cea (patch)
tree6d89005ca5c8d83481cb794581887f5943175192 /themes/markskitchen/layouts/_default
parent4a7862b0f1c7cec898bfa08114819a74690d4962 (diff)
Refactor theme usage
Diffstat (limited to 'themes/markskitchen/layouts/_default')
-rw-r--r--themes/markskitchen/layouts/_default/baseof.html9
-rw-r--r--themes/markskitchen/layouts/_default/list.html22
-rw-r--r--themes/markskitchen/layouts/_default/single.html21
3 files changed, 0 insertions, 52 deletions
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 }}