mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00

# Aider chat conversation: USER: put the date under the post title ASSISTANT: ```diff --- blog/index.html +++ blog/index.html @@ ... @@ <div class="posts"> {% for post in site.posts %} <article class="post"> - <p class="post-date">{{ post.date | date: "%b %-d, %Y" }}</p> <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1> + <p class="post-date">{{ post.date | date: "%b %-d, %Y" }}</p> <div class="entry"> ```
22 lines
501 B
HTML
22 lines
501 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div class="posts">
|
|
{% for post in site.posts %}
|
|
<article class="post">
|
|
<p class="post-date">{{ post.date | date: "%b %-d, %Y" }}</p>
|
|
|
|
|
|
<div class="entry">
|
|
{% if post.excerpt %}
|
|
{{ post.excerpt }}
|
|
{% else %}
|
|
{{ post.content | strip_html | truncatewords: 100 }}...
|
|
{% endif %}
|
|
</div>
|
|
|
|
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
|
|
</article>
|
|
{% endfor %}
|
|
</div>
|