Skip to content

Commit

Permalink
Update news.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maswendt authored Aug 2, 2024
1 parent ddce40b commit 69aa47f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions news.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ layout: page
<div class="post-preview">
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
<span class="post-date">{{ post.date | date: "%B %d, %Y" }}</span>
{% assign content_parts = post.content | split: '<!--break-->' %}
{{ content_parts[0] }}
{% if content_parts.size > 1 %}
{{ post.content | split:'<!--break-->' | first }}
{% if post.content contains '<!--break-->' %}
<a href="{{ post.url }}">
read more
</a>
Expand Down

0 comments on commit 69aa47f

Please sign in to comment.