File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ <h2>{{category.category}}</h2>
2222 < a href ="{{ site.baseurl }}{{ post.url }} " class ="posts-grid__link ">
2323 < h3 class ="posts-grid__item-title "> {{ post.data.title }}</ h3 >
2424 </ a >
25- < p class ="posts-grid__summary "> {{ post.content| excerpt }}</ p >
25+ < p class ="posts-grid__summary ">
26+ {{ post.data.excerpt | default: post.content | excerpt }}
27+ </ p >
2628 < div class ="posts-grid__meta ">
2729 < time datetime ="{{ post.date | date_to_xmlschema }} "
2830 > {{ post.date | date_to_long_string_locale }}</ time
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ <h2>{{ yearitem.name }}</h2>
2020 < a href ="{{ site.baseurl }}{{ item.url }} " class ="posts-grid__link ">
2121 < h3 class ="posts-grid__item-title "> {{ item.data.title }}</ h3 >
2222 </ a >
23- < p class ="posts-grid__summary "> {{ item.content| excerpt }}</ p >
23+ < p class ="posts-grid__summary ">
24+ {{ item.data.excerpt | default: item.content | excerpt }}
25+ </ p >
2426 < div class ="posts-grid__meta ">
2527 < time datetime ="{{ item.date | date_to_xmlschema }} "
2628 > {{ item.date | date_to_long_string_locale }}</ time
You can’t perform that action at this time.
0 commit comments