link to topic page in all topics
This commit is contained in:
parent
77c7fb2be0
commit
e83b45300e
2 changed files with 9 additions and 8 deletions
|
@ -21,7 +21,6 @@
|
|||
<img src="../assets/images/ayo.png" alt="{{ site.description }}" />
|
||||
</div>
|
||||
<h2>{{ site.description }}</h2>
|
||||
<p>Want to give me a tip?</p>
|
||||
</div>
|
||||
<div class="side-panel side-panel-bottom" id="donate-form">
|
||||
<div class="tip-jar">
|
||||
|
|
|
@ -6,18 +6,20 @@ permalink: /categories/
|
|||
|
||||
<div>
|
||||
{% for category in site.categories %}
|
||||
<div>
|
||||
<ul>
|
||||
{% capture category_name %}{{ category | first }}{% endcapture %}
|
||||
<div id="#{{ category_name | slugize }}"></div>
|
||||
|
||||
<h3 class="category-head">{{ category_name }}</h3>
|
||||
<li class="category-head">
|
||||
<a href="{{ site.url }}/{{ category_name | slugize}}"
|
||||
>{{ category_name }} ({{site.categories[category_name].size}})</a
|
||||
>
|
||||
</li>
|
||||
<ul>
|
||||
{% for post in site.categories[category_name] %}
|
||||
<li>
|
||||
<h4><a href="{{ post.url | relative_url }}">{{post.title}}</a></h4>
|
||||
<li style="font-size: small">
|
||||
<a href="{{ post.url | relative_url }}">{{post.title}}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue