mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00

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