the home site for me: also iteration 3 or 4 of my site
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: fix toc

+5 -17
-1
sass/css/mods.css
··· 195 195 display: inline-flex; 196 196 align-items: center; 197 197 vertical-align: middle; 198 - gap: 0.5rem; 199 198 } 200 199 201 200 cite a {
+5 -16
templates/blog-page.html
··· 23 23 {% endif %} 24 24 <h1>{{ page.title }}</h1> 25 25 26 - {% if page.toc and page.extra.toc %} 26 + {% if page.toc and page.extra["has_toc"] %} 27 27 <h2>Table of contents</h2> 28 28 <ul> 29 - {% for h1 in page.toc %} 29 + {% for h2 in page.toc %} 30 30 <li> 31 - <a href="{{ h1.permalink | safe }}">{{ h1.title }}</a> 32 - {% if h1.children %} 31 + <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> 33 32 <ul> 34 - {% for h2 in h1.children %} 33 + {% for h3 in h2.children %} 35 34 <li> 36 - <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> 37 - <ul> 38 - {% for h3 in h2.children %} 39 - <li> 40 - <a href="{{ h3.permalink | safe }}" 41 - >{{ h3.title }}</a 42 - > 43 - </li> 44 - {% endfor %} 45 - </ul> 35 + <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> 46 36 </li> 47 37 {% endfor %} 48 38 </ul> 49 - {% endif %} 50 39 </li> 51 40 {% endfor %} 52 41 </ul>