minor homepage cleanup
This commit is contained in:
parent
0d2af3e218
commit
069dbff927
1 changed files with 2 additions and 1 deletions
|
@ -3,10 +3,11 @@
|
||||||
<a href='{{ recipe.url }}' class='recipe-listing'>
|
<a href='{{ recipe.url }}' class='recipe-listing'>
|
||||||
<h2>{{ recipe.name }}</h2>
|
<h2>{{ recipe.name }}</h2>
|
||||||
<p>
|
<p>
|
||||||
By {{ recipe.author }} - {{ recipe.method | size }} steps -
|
By {{ recipe.author }} - {{ recipe.method | size }} steps {%- if recipe.time %} -
|
||||||
{%- if recipe.time > 59 %} {{ recipe.time | divided_by: 60}}h {% endif -%}
|
{%- if recipe.time > 59 %} {{ recipe.time | divided_by: 60}}h {% endif -%}
|
||||||
{% assign mins = recipe.time | modulo: 60 -%}
|
{% assign mins = recipe.time | modulo: 60 -%}
|
||||||
{%- if mins > 0 %}{{ mins }}m{% endif %}
|
{%- if mins > 0 %}{{ mins }}m{% endif %}
|
||||||
|
{%- endif -%}
|
||||||
</p>
|
</p>
|
||||||
<ol class='excerpt'>
|
<ol class='excerpt'>
|
||||||
{% for step in recipe.method | limit: 4 %}
|
{% for step in recipe.method | limit: 4 %}
|
||||||
|
|
Loading…
Reference in a new issue