-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (55 loc) · 1.55 KB
/
index.html
File metadata and controls
58 lines (55 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout: default
back_button: "/posts"
permalink: "/recipes/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber | plus: 1 }}/{% endif %}"
redirect_from:
- /recipes/page/1
- /rp
mealTags: [breakfast, dinner, dessert, side dish, soup, family recipe, chicken, beef, cheese, bread, pasta, slow cooker, pressure cooker]
noindex: true
pagination:
data: collections.recipes
size: 15
alias: recipes
eleventyComputed:
title: "Recipes - Page {{pagination.pageNumber | plus: 1}} of {{pagination.pages.length}}"
---
<div class="container h-feed">
<h1 class="post-list-heading p-name">
{{ page.list_title | default: "Recipes" }}
</h1>
<p>
My own personal recipe book saving recipes we've made over the years. Not all recipes have exact instructions. Cook at your own risk.
Recipes are sorted roughly by the last time it was made.
</p>
<nav class="category-menu" aria-labelledby="post-grouping-title">
<h3 id="post-grouping-title">See items tagged by meal</h3>
<ul class="btn-group">
{%- for tag in mealTags -%}
<li>
<a class="btn-link" href="/posts/tags/{{tag}}/">
{{tag}}
</a>
</li>
{%- endfor -%}
<li>
<a class="btn-link btn-alternate" href="/recipes/cookbooks/">
Cookbooks
</a>
</li>
</ul>
</nav>
<ol class="post-list">
{%- for post in recipes -%}
<li>
{% include "post-card.html" post: post %}
</li>
{%- endfor -%}
</ol>
<p class="blog-alternates">
<span class="rss-subscribe">
<a href="/subscribe">Subscribe for updates</a>
</span>
</p>
{% include "pagination.html" %}
</div>