mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
![]() # Aider chat conversation: USER: use the excerpt if one exists, otherwise keep using the first 100 words ASSISTANT: ```diff --- blog/index.html +++ blog/index.html @@ ... @@ <div class="entry"> - {{ post.content | strip_html | truncatewords: 100 }}... + {{ post.excerpt | default: post.content | strip_html | truncatewords: 100 }}... </div> ``` |
||
---|---|---|
.. | ||
index.html |