summaryrefslogtreecommitdiffstats
path: root/themes/problematic/layouts/_default
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-01-05 21:02:38 +0000
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-01-05 21:02:38 +0000
commitbd856b0c078d14beb2d92cd7ef13c1f131b1bebc (patch)
tree6343411fdaad49371e3d97816dbd13fd6746ee34 /themes/problematic/layouts/_default
parent4c76ce4aa306db8e6d8d5b825126c09fca723eec (diff)
parentf7a556559b17c6267ff898f68cae02a49bf87da6 (diff)
added in clegg post
Diffstat (limited to 'themes/problematic/layouts/_default')
-rw-r--r--themes/problematic/layouts/_default/baseof.html11
-rw-r--r--themes/problematic/layouts/_default/li.html6
-rw-r--r--themes/problematic/layouts/_default/list.html3
-rw-r--r--themes/problematic/layouts/_default/single.html4
4 files changed, 24 insertions, 0 deletions
diff --git a/themes/problematic/layouts/_default/baseof.html b/themes/problematic/layouts/_default/baseof.html
new file mode 100644
index 0000000..5f8e2ec
--- /dev/null
+++ b/themes/problematic/layouts/_default/baseof.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ {{- partial "head.html" . -}}
+ <body>
+ {{- partial "header.html" . -}}
+ <div id="content">
+ {{- block "main" . }}{{- end }}
+ </div>
+ {{- partial "footer.html" . -}}
+ </body>
+</html>
diff --git a/themes/problematic/layouts/_default/li.html b/themes/problematic/layouts/_default/li.html
new file mode 100644
index 0000000..2a7f3d9
--- /dev/null
+++ b/themes/problematic/layouts/_default/li.html
@@ -0,0 +1,6 @@
+<li>
+ <a href="{{ .Permalink }}">
+ <small><time>{{ .Date.Format "Jan 2, 2006" }}</time></small>:
+ {{ .Title }}
+ </a>
+</li>
diff --git a/themes/problematic/layouts/_default/list.html b/themes/problematic/layouts/_default/list.html
new file mode 100644
index 0000000..97af0e3
--- /dev/null
+++ b/themes/problematic/layouts/_default/list.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+{{- partial "posts.html" . -}}
+{{ end }}
diff --git a/themes/problematic/layouts/_default/single.html b/themes/problematic/layouts/_default/single.html
new file mode 100644
index 0000000..17b274b
--- /dev/null
+++ b/themes/problematic/layouts/_default/single.html
@@ -0,0 +1,4 @@
+{{ define "main" }}
+<h1>{{ .Title }}</h1>
+{{ .Content }}
+{{ end }}