Skip to content

Commit

Permalink
Hide index
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronTraas committed Apr 29, 2024
1 parent fd5037a commit f7aef33
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Recipes/Sourdough/Leftover Oatmeal Bread.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
page_description: Really delicious use for leftover prepared oatmeal. Honestly, better than the oatmeal.
---

# Leftover Oatmeal Bread

![Oatmeal Bread](../../images/oatmeal_bread.jpg)
Expand Down
8 changes: 7 additions & 1 deletion _includes/site_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ <h2><a href="{{ section_dir | relative_url }}/">{{section_name}}</a></h2>
{% else -%}
{% if page_blacklist contains page.name -%}
{% else -%}
<li><a href="{{ page.url | relative_url }}">{{page.title}}</a></li>
{% if hide_description != nil And page.description != nil -%}
{% assign page_description = ' - {{page.description}}' -%}
{% else -%}
{% assign page_description = '' -%}
{% endif -%}
<li><a href="{{ page.url | relative_url }}">{{page.title}}{{page.description}}</a></li>
{% endif -%}
{% endif -%}
{% endif -%}
{% endfor -%}
</ul>
{% endif -%}
{% endfor -%}
{% assign hide_description = nil -%}

0 comments on commit f7aef33

Please sign in to comment.