Skip to content

Commit c911279

Browse files
committed
Updated index to use post excerpt include
1 parent cdfbfa0 commit c911279

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% for item in paginator.posts %}
99
{% if item.category == 'event' %}
1010
<h2><a href='{{site.baseurl}}{{item.url}}'>{{item.title}}</a></h2>
11-
{{item.excerpt}}
11+
{% include post-excerpt.html %}
1212

1313
{% if item.rsvp %}
1414
<div class='keyline-all round pad2 col12 clearfix'>
@@ -23,8 +23,8 @@ <h2><a href='{{site.baseurl}}{{item.url}}'>{{item.title}}</a></h2>
2323

2424
{% else %}
2525
<h2><a href='{{site.baseurl}}{{item.url}}'>{{item.title}}</a></h2>
26-
{{item.excerpt}}
27-
<p><a href="{{site.baseurl}}{{item.url}}">Read full post...</a></p>
26+
{% include post-excerpt.html %}
27+
2828
<div class='pad1y keyline-top'>
2929
<strong class='quiet small block space-bottom1'>Posted {{item.date | date:"%b %d %Y"}} {% if item.author %}by {{item.author}}{% endif %}</strong>
3030
</div>

0 commit comments

Comments
 (0)