summaryrefslogtreecommitdiffstats
path: root/themes/tozt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-13 13:42:37 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-13 13:42:37 -0400
commit31d0be3b853d1b9ed33e9028482de52bf0bfc72e (patch)
tree701ce35223b436c7ba9206ecc7b7190601e9ff41 /themes/tozt
parentb73a945f93df3b8c1f8b37cebef9a448cd9ef800 (diff)
downloadtozt-hugo-31d0be3b853d1b9ed33e9028482de52bf0bfc72e.tar.gz
tozt-hugo-31d0be3b853d1b9ed33e9028482de52bf0bfc72e.zip
import recipes
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" . }}