aider/blog/index.html
Paul Gauthier e07a3dd9ef layout
2024-02-19 17:46:57 -08:00

29 lines
783 B
HTML

---
layout: default
---
<div class="posts">
{% for post in site.posts %}
<article class="post">
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
<div class="entry">
<div class="post-content">
{% 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>
<p class="post-date">
{{ post.date | date: "%b %-d, %Y" | upcase }}
</p>
</article>
{% endfor %}
</div>