Skip to content

Commit

Permalink
Automatic descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronTraas committed Apr 29, 2024
1 parent da63807 commit 4cc604c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/site_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2><a href="{{ section_dir | relative_url }}/">{{section_name}}</a></h2>
{% else -%}
{% assign page_description = '' -%}
{% endif -%}
<li><a href="{{ page.url | relative_url }}">{{page.title}}{{page.description}}</a></li>
<li><a href="{{ page.url | relative_url }}">{{page.title}}</a>{{page_description}}</li>
{% endif -%}
{% endif -%}
{% endif -%}
Expand Down
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ <h2>{{ site.description | default: site.github.project_tagline }}</h2>

<aside id="sidebar">
{% assign sections = 'Recipes,Adult Beverages,Tobacco' | split: ',' -%}
{% assign hide_description = 'true' -%}
{% include site_index.html -%}
</aside>

Expand Down

0 comments on commit 4cc604c

Please sign in to comment.