diff --git a/index.html b/index.html index 0e394a6..e636af2 100644 --- a/index.html +++ b/index.html @@ -2,11 +2,11 @@ title: Home layout: default --- +{%- if site.recipes.size > 1 %}

Recipes

Showing {% if site.recipes_per_page > site.recipes.size %}{{ site.recipes_per_page}}{% else %}{{ site.recipes.size }}{% endif %} results.

{% include recipes.html %} -{%- if site.recipes.size > 1 %}

Stats

{%- assign steps_total = 0 -%} {%- assign longest_recipe = site.recipes | first -%} @@ -51,4 +51,11 @@ layout: default + +{%- else -%} +{%- comment -%} 0 recipes {%- endcomment -%} +

No recipes

+

+ No recipes found. Ensure that there is at least one recipe file in the _recipes directory. See the help page for more information. +

{% endif %}