Commit graph

3849 commits

Author SHA1 Message Date
Paul Gauthier
27fedbe4fa aider: Added new font family, increased spacing between posts, added box-shadow for card effect, adjusted padding and margins, and enhanced post-date color and style.
# Aider chat conversation:

USER: improve the styling of the blog index page

ASSISTANT: To improve the styling of the blog index page, I will make the following changes:

1. Add a new font family for better readability.
2. Increase the spacing between posts for a cleaner look.
3. Add a subtle box-shadow to each post for a card-like effect.
4. Adjust the padding and margins for better spacing and alignment.
5. Enhance the color and style of the post-date to make it stand out more.

Here are the diffs for those changes:

```diff
--- assets/css/style.scss
+++ assets/css/style.scss
@@ ... @@
 .btn {
   display: inline-block;
   width: auto;
 }
 .btn + .btn {
   margin-top: 0;
   margin-left: 0.75rem;
 }
+.post {
+  background: #fff;
+  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+  margin-bottom: 2em;
+  padding: 1em;
+  border-radius: 4px;
+}
 .post-date {
-  color: #777;
+  color: #333;
   font-size: 0.85em;
-  margin-bottom: 0.5em;
+  margin-bottom: 1em;
   padding-top: 1em;
+  font-weight: bold;
+  display: block;
+  text-transform: uppercase;
+  letter-spacing: 0.05em;
 }

 .chat-transcript {
     font-family: 'Courier New', Courier, monospace;
     background-color: #000;
     color: #0f0;
     padding: 1em 1em 1em 1em;
     border-radius: 5px;
 }
```

Please note that the exact values for margins, padding, and other styles may need to be adjusted based on the overall design and layout of your site. The changes above are a starting point for improving the styling of the blog index page.
2024-02-19 14:31:20 -08:00
Paul Gauthier
955f66ded2 copy 2024-02-19 14:29:22 -08:00
Paul Gauthier
5cff8a0e9d Link to the blog 2024-02-19 13:32:10 -08:00
Paul Gauthier
662b70ed1f copy 2024-02-19 13:30:54 -08:00
Paul Gauthier
63566443d9 Link more blog articles 2024-02-19 13:25:43 -08:00
Paul Gauthier
9484cc9002 copy 2024-02-19 13:11:55 -08:00
Paul Gauthier
b51db95240 Added post symlink 2024-02-19 13:08:49 -08:00
Paul Gauthier
39dbd7ba49 Added sitemap 2024-02-16 09:23:27 -08:00
Paul Gauthier
aaeb055cc9 Disabled sitemap 2024-02-16 08:47:03 -08:00
Paul Gauthier
a3774c48e0 Added sitemap 2024-02-16 08:43:58 -08:00
Paul Gauthier
813bc8f069 Add custom redirect.html without robots:noindex 2024-02-16 08:40:29 -08:00
Paul Gauthier
b908b95f6c copy 2024-02-11 16:24:52 -08:00
Paul Gauthier
16fe46ef5d copy 2024-02-11 15:49:44 -08:00
Paul Gauthier
40ae921cba aider: Add a toc entry for the final faq entry.
# Aider chat conversation:

USER: add a toc entry for the final faq entry

ASSISTANT: ```diff
--- docs/faq.md
+++ docs/faq.md
@@ ... @@
 - [How to use pipx to avoid python package conflicts?](#how-to-use-pipx-to-avoid-python-package-conflicts)
+- [Can I specify guidelines or conventions?](#can-i-specify-guidelines-or-conventions)

 ## How does aider use git?
```
2024-02-11 15:49:29 -08:00
Paul Gauthier
90cd78a6b4 Updated installation instructions for pipx and added information about specifying coding guidelines in a file. 2024-02-11 15:49:28 -08:00
Paul Gauthier
2b02aeb916 added instructions faq entry 2024-02-11 15:44:59 -08:00
Paul Gauthier
cc17194cca post->page 2024-02-11 09:42:38 -08:00
Paul Gauthier
f6cb20dd5c added date 2024-02-11 09:27:44 -08:00
Paul Gauthier
b52718d6eb cleanup 2024-02-11 08:11:48 -08:00
Paul Gauthier
97f0805c8d copy 2024-02-11 08:09:40 -08:00
Paul Gauthier
c37eaebc48 restore h1 2024-02-11 08:07:12 -08:00
Paul Gauthier
1498dc8c9d aider: Put the date under the post title.
# 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">
```
2024-02-11 08:04:31 -08:00
Paul Gauthier
e08a4f82c1 aider: Style the date appropriately.
# Aider chat conversation:

USER: style the date appropriately

ASSISTANT: ```diff
--- assets/css/style.scss
+++ assets/css/style.scss
@@ ... @@
 .btn + .btn {
   margin-top: 0;
   margin-left: 0.75rem;
 }
+.post-date {
+  color: #777;
+  font-size: 0.85em;
+  margin-bottom: 0.5em;
+}

 .chat-transcript {
     font-family: 'Courier New', Courier, monospace;
```
2024-02-11 08:03:13 -08:00
Paul Gauthier
65d43dff0f aider: Add a date to each blog entry.
# Aider chat conversation:

USER: add a date to each blog entry

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>
       <div class="entry">
           {% if post.excerpt %}
```
2024-02-11 08:02:11 -08:00
Paul Gauthier
265e71010f Make assets/ reference absolute 2024-02-11 07:58:25 -08:00
Paul Gauthier
ae3373eb89 fixed redirect 2024-02-11 07:57:50 -08:00
Paul Gauthier
e630e51668 better excerpt logic; fixed svg ref 2024-02-11 07:55:44 -08:00
Paul Gauthier
d7476bb303 aider: Update blog index to display post excerpt if available, otherwise use the first 100 words.
# 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>
```
2024-02-11 07:52:29 -08:00
Paul Gauthier
a3f9f6c5c6 aider: Added an excerpt for speed benchmarks report.
# Aider chat conversation:

USER: add an excerpt

ASSISTANT: ```diff
--- _posts/2023-11-06-benchmarks-speed-1106.md
+++ _posts/2023-11-06-benchmarks-speed-1106.md
@@ ... @@
 ---
 title: Speed benchmarks of GPT-4 Turbo and gpt-3.5-turbo-1106
+excerpt: This report provides a detailed comparison of the speed of GPT-4 Turbo and gpt-3.5-turbo-1106 models based on the aider benchmarking suite.
 redirect_from:
   - /docs/benchmarks-speed-1106.md
 ---
```
2024-02-11 07:51:38 -08:00
Paul Gauthier
81ad2f18fe moved benchmarks-speed-1106 article 2024-02-11 07:50:18 -08:00
Paul Gauthier
2f8109ece1 copy 2024-02-11 06:36:47 -08:00
Paul Gauthier
a6f8d7ec6f aider: Add the redirect plugin to the _config.yml.
# Aider chat conversation:

USER: add the redirect plugin

ASSISTANT: To add the Jekyll Redirect From plugin to your `_config.yml`, you need to add the plugin to the `plugins` list. Here's the diff for the change:

```diff
--- _config.yml
+++ _config.yml
@@ ... @@
 theme: jekyll-theme-cayman
 url: "https://aider.chat"
+plugins:
+  - jekyll-redirect-from
+
 defaults:
   - scope:
       path: "README.md"
       type: "pages"
     values:
       description: "A command-line chat tool for coding with GPT"
```
2024-02-11 06:34:01 -08:00
Paul Gauthier
c8a732dde2 copy 2024-02-11 06:31:57 -08:00
Paul Gauthier
0904e8e1a0 copy 2024-02-11 06:29:40 -08:00
Paul Gauthier
c95a4ae171 copy 2024-02-11 06:28:16 -08:00
Paul Gauthier
027faa384d whitespace 2024-02-11 06:21:11 -08:00
Paul Gauthier
f948c855ac renamed 2024-02-11 06:18:35 -08:00
Paul Gauthier
ac22c314d1 use first 100 words for excerpt 2024-02-11 06:16:21 -08:00
Paul Gauthier
69c32c2903 aider: Add frontmatter for 301 redirect from old URL to new URL.
# Aider chat conversation:

USER: this post used to be live at /docs/aider-20.html. add frontmatter so that that old url does a 301 redirect to here.

ASSISTANT: ```diff
--- _posts/2024-02-11-aider-20.html
+++ _posts/2024-02-11-aider-20.html
@@ ... @@
+
+---
+redirect_from:
+  - /docs/aider-20.html
+---
+
 # Aider v0.20.0 is live

 Aider v0.20.0 is now available in pypi.
```
2024-02-11 06:15:54 -08:00
Paul Gauthier
f317915e8a Added new blog post for February 11, 2024. 2024-02-11 06:15:53 -08:00
Paul Gauthier
3fb698cdca added blog 2024-02-11 06:07:29 -08:00
Paul Gauthier
69d1107b31 set version to 0.24.2-dev 2024-02-11 05:51:40 -08:00
Paul Gauthier
d26693e636 version bump to 0.24.1 2024-02-11 05:51:09 -08:00
Paul Gauthier
19d1a57e5b Updated HISTORY 2024-02-11 05:49:30 -08:00
Paul Gauthier
72e6cb901c Fixed bug with cost computations when --no-steam in effect #475 2024-02-11 05:48:32 -08:00
Paul Gauthier
a1a2cf7ac2 Added pipx faq entry 2024-02-10 10:40:12 -08:00
Paul Gauthier
0fa2505ac5 Delete pandoc installer 2024-02-10 08:48:22 -08:00
Paul Gauthier
3d948788dd set version to 0.24.1-dev 2024-02-10 07:35:36 -08:00
Paul Gauthier
08a22b9cf7 version bump to 0.24.0 2024-02-10 07:35:02 -08:00
Paul Gauthier
1e70b3fb05 Updated HISTORY 2024-02-10 07:34:21 -08:00