This commit is contained in:
Paul Gauthier 2024-02-19 14:53:21 -08:00
parent 08048b4972
commit fd926822bf

View file

@ -8,16 +8,16 @@ layout: default
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<div class="entry">
<div class="post-content">
{% if post.highlight_image %}
<div class="post-highlight">
<img src="{{ site.baseurl }}{{ post.highlight_image }}" alt="Highlight Image">
</div>
{% endif %}
{% if post.excerpt %}
{{ post.excerpt }}
{% else %}
{{ post.content | strip_html | truncatewords: 100 }}...
{% endif %}
{% if post.highlight_image %}
<div class="post-highlight">
<img src="{{ site.baseurl }}{{ post.highlight_image }}" alt="Highlight Image">
</div>
{% endif %}
</div>
</div>