File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ <h2 class="blog-title">{{ post.data.title }}</h2>
1616 {% if post.data.date %}
1717 < span class ="blog-date "> {{ post.data.date | formatDate }}</ span >
1818 {% endif %}
19- {% if post.data.blurb %}
19+ {% if post.data.blurb != blank and post.data.blurb != "" %}
2020 < p class ="blog-blurb "> {{ post.data.blurb }}</ p >
21+ {% elsif post.templateContent %}
22+ < p class ="blog-blurb "> {{ post.templateContent | autoBlurb }}</ p >
2123 {% endif %}
2224 </ div >
2325 </ div >
Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ <h2 class="article-title">{{ post.data.title }}</h2>
1616 {% if post.data.date %}
1717 < span class ="article-date "> {{ post.data.date | formatDate }}</ span >
1818 {% endif %}
19- {% if post.data.blurb %}
19+ {% if post.data.blurb != blank and post.data.blurb != "" %}
2020 < p class ="article-blurb "> {{ post.data.blurb }}</ p >
21+ {% elsif post.templateContent %}
22+ < p class ="article-blurb "> {{ post.templateContent | autoBlurb }}</ p >
2123 {% endif %}
2224 </ div >
2325 </ div >
Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ <h2 class="article-title">{{ post.data.title }}</h2>
1616 {% if post.data.date %}
1717 < span class ="article-date "> {{ post.data.date | formatDate }}</ span >
1818 {% endif %}
19- {% if post.data.blurb %}
19+ {% if post.data.blurb != blank and post.data.blurb != "" %}
2020 < p class ="article-blurb "> {{ post.data.blurb }}</ p >
21+ {% elsif post.templateContent %}
22+ < p class ="article-blurb "> {{ post.templateContent | autoBlurb }}</ p >
2123 {% endif %}
2224 </ div >
2325 </ div >
You can’t perform that action at this time.
0 commit comments