summaryrefslogtreecommitdiff
path: root/layouts/recipes/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/recipes/single.html')
-rw-r--r--layouts/recipes/single.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html
index 7919970..353abd2 100644
--- a/layouts/recipes/single.html
+++ b/layouts/recipes/single.html
@@ -1,14 +1,12 @@
-{{ define "head" }}
- <script type="text/javascript" src="/js/cookbook.js"></script>
-{{- end }}
-
{{ define "main" }}
<article>
<header>
- <h1>{{ .Title }}</h1>
- {{- range .Params.tags }}
- <a href="/tags/{{ . | lower }}">#{{ . }}</a>
- {{- end }}
+ <h1 class="p-name">{{ .Title }}</h1>
+ <ul class="taglist">
+ {{- range sort .Params.tags }}
+ <li><a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a></li>
+ {{- end }}
+ </ul>
{{- if .Draft }}
<section class="admonition">
<div class="admonition-title">
@@ -26,7 +24,7 @@
</section>
{{- end }}
</header>
- <main>
+ <main class="e-content">
{{ .Content }}
<table>
<tbody>
@@ -81,6 +79,9 @@
<h2>Instructions</h2>
{{- range $i, $stage := .Params.stages }}
<h3>{{ $stage.label }}</h3>
+ {{- if $stage.notes }}
+ <p>{{ .notes }}</p>
+ {{- end }}
<ol>
{{- range $j, $step := $stage.steps }}
<li>