summaryrefslogtreecommitdiff
path: root/layouts/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/recipes')
-rw-r--r--layouts/recipes/list.html18
-rw-r--r--layouts/recipes/single.html6
2 files changed, 12 insertions, 12 deletions
diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html
index 5da230f..9c51074 100644
--- a/layouts/recipes/list.html
+++ b/layouts/recipes/list.html
@@ -3,15 +3,15 @@
{{ .Content }}
<ul>
{{- range sort .Paginator.Pages "Title" }}
- <li>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- <small>
- {{ .Summary }}
- {{- range .Params.tags }}
- <a href="/tags/{{ . | lower }}">#{{ . }}</a>
- {{- end }}
- </small>
- </li>
+ <li>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <small>
+ {{ .Summary }}
+ {{- range .Params.tags }}
+ <a href="/tags/{{ . | lower }}">#{{ . }}</a>
+ {{- end }}
+ </small>
+ </li>
{{- end }}
</ul>
{{- end }}
diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html
index 14b8ffc..0a7d1ad 100644
--- a/layouts/recipes/single.html
+++ b/layouts/recipes/single.html
@@ -1,13 +1,13 @@
{{ define "head" }}
-<script type="text/javascript" src="/js/cookbook.js"></script>
-{{ end }}
+ <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>
+ <a href="/tags/{{ . | lower }}">#{{ . }}</a>
{{- end }}
{{- if .Draft }}
<section class="admonition">