From 9982a5b4e284dad0c18991e8168c4a077ec42962 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 19 Feb 2024 14:47:00 -0800 Subject: [PATCH] aider: Make the highlight image max 200px wide and position it to the left of the excerpt in blog post entries. # Aider chat conversation: USER: make the highlight image be max 200px wide and make it be to the left of the excerpt ASSISTANT: Here are the diffs for the requested changes: ```diff --- blog/index.html +++ blog/index.html @@ ... @@ {% for post in site.posts %}

{{ post.title }}

- {% if post.highlight_image %} -
- Highlight Image -
- {% endif %}
+
+ {% if post.highlight_image %} +
+ Highlight Image +
+ {% endif %} {% if post.excerpt %} {{ post.excerpt }} {% else %} {{ post.content | strip_html | truncatewords: 100 }}... {% endif %} +

{{ post.title }}

- {% if post.highlight_image %} -
- Highlight Image -
- {% endif %}
+
+ {% if post.highlight_image %} +
+ Highlight Image +
+ {% endif %} {% if post.excerpt %} {{ post.excerpt }} {% else %} {{ post.content | strip_html | truncatewords: 100 }}... {% endif %} +