summaryrefslogtreecommitdiff
path: root/layouts/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/recipes')
-rw-r--r--layouts/recipes/list.html4
-rw-r--r--layouts/recipes/single.html10
2 files changed, 5 insertions, 9 deletions
diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html
index de18df0..b758a2b 100644
--- a/layouts/recipes/list.html
+++ b/layouts/recipes/list.html
@@ -10,11 +10,11 @@
</div>
<div class="description">
<h2>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <a class="p-name" href="{{ .Permalink }}">{{ .Title }}</a>
</h2>
<ul class="taglist">
{{- range sort .Params.tags }}
- <li><a class="tag" href="/tags/{{ . | lower }}">{{ . }}</a></li>
+ <li><a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a></li>
{{- end }}
</ul>
{{ .Content }}
diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html
index c4876a9..353abd2 100644
--- a/layouts/recipes/single.html
+++ b/layouts/recipes/single.html
@@ -1,14 +1,10 @@
-{{ define "head" }}
- <script type="text/javascript" src="/js/cookbook.js"></script>
-{{- end }}
-
{{ define "main" }}
<article>
<header>
- <h1>{{ .Title }}</h1>
+ <h1 class="p-name">{{ .Title }}</h1>
<ul class="taglist">
{{- range sort .Params.tags }}
- <li><a class="tag" href="/tags/{{ . | lower }}">{{ . }}</a></li>
+ <li><a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a></li>
{{- end }}
</ul>
{{- if .Draft }}
@@ -28,7 +24,7 @@
</section>
{{- end }}
</header>
- <main>
+ <main class="e-content">
{{ .Content }}
<table>
<tbody>