diff --git a/aider/website/docs/index.md b/aider/website/docs/index.md
index 2804325ff..e0b952565 100644
--- a/aider/website/docs/index.md
+++ b/aider/website/docs/index.md
@@ -13,11 +13,7 @@ Aider is AI pair programming in your terminal. This documentation will help you
{% for page in pages_list %}
{% if page.title and page.url != "/" and page.parent == nil and page.nav_exclude != true %}
- {{ page.title }}
- {% if page.description %}
-
- {{ page.description }}
- {% endif %}
+ {{ page.title }}{% if page.description %} — {{ page.description }}{% endif %}
{% assign children = site.html_pages | where: "parent", page.title | sort: "nav_order" %}
{% if children.size > 0 %}
@@ -25,11 +21,7 @@ Aider is AI pair programming in your terminal. This documentation will help you
{% for child in children %}
{% if child.title %}
- {{ child.title }}
- {% if child.description %}
-
- {{ child.description }}
- {% endif %}
+ {{ child.title }}{% if child.description %} — {{ child.description }}{% endif %}
{% assign grandchildren = site.html_pages | where: "parent", child.title | sort: "nav_order" %}
{% if grandchildren.size > 0 %}
@@ -37,11 +29,7 @@ Aider is AI pair programming in your terminal. This documentation will help you
{% for grandchild in grandchildren %}
{% if grandchild.title %}
- {{ grandchild.title }}
- {% if grandchild.description %}
-
- {{ grandchild.description }}
- {% endif %}
+ {{ grandchild.title }}{% if grandchild.description %} — {{ grandchild.description }}{% endif %}
{% endif %}
{% endfor %}