Skip to content

Commit f084059

Browse files
committed
Put summaries in <p> tags.
1 parent 8ea197f commit f084059

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

_layouts/news.html

+2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ <h1>{{ page.title }}</h1>
1616
<div class="post">
1717
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
1818

19+
<p>
1920
{{ post.content | markdownify | strip_html | truncatewords: 25 }}
21+
</p>
2022

2123
<p><a href="{{ post.url }}">Continue Reading...</a></p>
2224

_layouts/news_archive_month.html

+2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ <h1>{{ page.title }}</h1>
1515
<div class="post">
1616
<h3>{{ post.title }}</h3>
1717

18+
<p>
1819
{{ post.content | markdownify | strip_html | truncatewords: 25 }}
20+
</p>
1921

2022
<p><a href="{{ post.url }}">Continue Reading...</a></p>
2123

_layouts/news_archive_year.html

+2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ <h1>{{ page.title }}</h1>
1515
<div class="post">
1616
<h3>{{ post.title }}</h3>
1717

18+
<p>
1819
{{ post.content | markdownify | strip_html | truncatewords: 25 }}
20+
</p>
1921

2022
<p><a href="{{ post.url }}">Continue Reading...</a></p>
2123

0 commit comments

Comments
 (0)