18 lines
571 B
HTML
18 lines
571 B
HTML
<div id='recipes'>
|
|
{% for recipe in site.recipes | limit: 15 -%}
|
|
<a href='{{ recipe.url }}' class='recipe-listing'>
|
|
<h3>{{ recipe.name }}</h3>
|
|
<p>
|
|
By {{ recipe.author }} -
|
|
{% if recipe.difficulty %}Difficulty: <span class='stars'>{{ recipe.difficulty | to_stars }}</span> - {%- endif %}
|
|
{{ recipe.method | size }} steps
|
|
{%- if recipe.time %} - {{ recipe.time | hours_and_minutes: false }}{%- endif -%}
|
|
</p>
|
|
<ol class='excerpt'>
|
|
{% for step in recipe.method | limit: 4 %}
|
|
<li>{{ step }}</li>
|
|
{% endfor %}
|
|
</ol>
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|