Skip to content

Commit

Permalink
Merge pull request #15 from adworacz/addSummarySupport
Browse files Browse the repository at this point in the history
Add support for summaries, instead of just descriptions.
  • Loading branch information
ejmg authored Mar 11, 2021
2 parents be1728c + dda3b77 commit b8033c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/macros/lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ <h1 class="post-title">
{% if page.description -%}
{{ page.description }}
{#- end if-check for description -#}
{% elif page.summary -%}
{{ page.summary | safe }}
{% endif -%}
</div>
{% if page.description -%}
{% if page.description or page.summary -%}
<div>
<a class="read-more button" href="{{ page.permalink }}">{{ config.extra.read_more }} →</a>
</div>
Expand Down

1 comment on commit b8033c7

@vercel
Copy link

@vercel vercel bot commented on b8033c7 Mar 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.