link to topic page in all topics

This commit is contained in:
Ayo 2023-05-27 17:24:55 +02:00
parent 77c7fb2be0
commit e83b45300e
2 changed files with 9 additions and 8 deletions

View file

@ -21,7 +21,6 @@
<img src="../assets/images/ayo.png" alt="{{ site.description }}" /> <img src="../assets/images/ayo.png" alt="{{ site.description }}" />
</div> </div>
<h2>{{ site.description }}</h2> <h2>{{ site.description }}</h2>
<p>Want to give me a tip?</p>
</div> </div>
<div class="side-panel side-panel-bottom" id="donate-form"> <div class="side-panel side-panel-bottom" id="donate-form">
<div class="tip-jar"> <div class="tip-jar">

View file

@ -6,18 +6,20 @@ permalink: /categories/
<div> <div>
{% for category in site.categories %} {% for category in site.categories %}
<div> <ul>
{% capture category_name %}{{ category | first }}{% endcapture %} {% capture category_name %}{{ category | first }}{% endcapture %}
<div id="#{{ category_name | slugize }}"></div> <li class="category-head">
<a href="{{ site.url }}/{{ category_name | slugize}}"
<h3 class="category-head">{{ category_name }}</h3> >{{ category_name }} ({{site.categories[category_name].size}})</a
>
</li>
<ul> <ul>
{% for post in site.categories[category_name] %} {% for post in site.categories[category_name] %}
<li> <li style="font-size: small">
<h4><a href="{{ post.url | relative_url }}">{{post.title}}</a></h4> <a href="{{ post.url | relative_url }}">{{post.title}}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </ul>
{% endfor %} {% endfor %}
</div> </div>