Skip to content

Commit

Permalink
aider: Updated blog_index.html to use page.toc instead of site.toc fo…
Browse files Browse the repository at this point in the history
…r generating table of contents.
  • Loading branch information
sanity committed Jun 18, 2024
1 parent 0c1a2b1 commit c46b659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/blog_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h1 class="title">{{ page.title }}</h1>

<ul>
{% for toc_item in site.toc %}
{% for toc_item in page.toc %}
{% if toc_item.section == "blog" %}
<li>
<a class="has-text-link" href="{{ toc_item.permalink }}">{{ toc_item.title }}</a><br>
Expand Down

0 comments on commit c46b659

Please sign in to comment.