Skip to content

Commit

Permalink
Try new excerpt strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
martamaja10 committed Aug 28, 2024
1 parent dee763c commit b162f28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
<div style="padding:0.1em 0.6em;">
{% for post in site.posts limit:5 %}
<font size="4"><b><a href="{{ post.url | relative_url }}">{{ post.title }}</a></b></font> <font size="1">({{post.date | date_to_string}})</font>
<font size="2">{{ post.excerpt }}</font>
<!-- <font size="2">{{ post.excerpt }}</font> -->
<font size="2">{{ post.content | strip_html | truncatewords: 50 }}</font>
{% endfor %}
<b><a href="{{'/blog' | relative_url}}"> More ...</a></b>
</div>
Expand Down

0 comments on commit b162f28

Please sign in to comment.