summaryrefslogtreecommitdiffstats
path: root/themes/tozt
diff options
context:
space:
mode:
Diffstat (limited to 'themes/tozt')
-rw-r--r--themes/tozt/layouts/recipes/list.html13
-rw-r--r--themes/tozt/layouts/recipes/single.html11
2 files changed, 24 insertions, 0 deletions
diff --git a/themes/tozt/layouts/recipes/list.html b/themes/tozt/layouts/recipes/list.html
new file mode 100644
index 0000000..1c0c82e
--- /dev/null
+++ b/themes/tozt/layouts/recipes/list.html
@@ -0,0 +1,13 @@
+{{ partial "header.html" . }}
+
+{{ .Content }}
+
+<ul>
+ {{ range (where .Data.Pages "Section" "!=" "") }}
+ <li>
+ <a href="{{ .URL }}">{{ .Title | markdownify }}</a>
+ </li>
+ {{ end }}
+</ul>
+
+{{ partial "footer.html" . }}
diff --git a/themes/tozt/layouts/recipes/single.html b/themes/tozt/layouts/recipes/single.html
new file mode 100644
index 0000000..42e94c7
--- /dev/null
+++ b/themes/tozt/layouts/recipes/single.html
@@ -0,0 +1,11 @@
+{{ partial "header.html" . }}
+
+<header class="body">
+<h2>{{ .Title }}</h2>
+</header>
+
+<article>
+{{ .Content }}
+</article>
+
+{{ partial "footer.html" . }}