Skip to content

Commit

Permalink
only show categories on toki page
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Dec 30, 2023
1 parent b614ea1 commit e9b2d2e
Showing 1 changed file with 45 additions and 10 deletions.
55 changes: 45 additions & 10 deletions toki/toki.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,50 @@ eleventyExcludeFromCollections: true
permalink: /toki/
---
<h2>toki</h2>
{{#each collections}}
{{#if (neq @key "all")}}
<h3>{{@key}}</h3>

<h3>toki ale</h3>

<h4>musi</h4>
<ul>
{{#each this}}
<li>
<a href="{{page.url}}">{{data.[nimi-suli]}} ({{data.[jan-pali]}})</a>
</li>
{{/each}}
{{#each collections.musi}}
<li>
<a href="{{page.url}}">{{data.[nimi-suli]}} ({{data.[jan-pali]}})</a>
</li>
{{/each}}
</ul>

<h4>sona</h4>
<ul>
{{#each collections.sona}}
<li>
<a href="{{page.url}}">{{data.[nimi-suli]}} ({{data.[jan-pali]}})</a>
</li>
{{/each}}
</ul>

<h4>ma</h4>
<ul>
{{#each collections.ma}}
<li>
<a href="{{page.url}}">{{data.[nimi-suli]}} ({{data.[jan-pali]}})</a>
</li>
{{/each}}
</ul>

<h4>toki musi</h4>
<ul>
{{#each collections.[toki-musi]}}
<li>
<a href="{{page.url}}">{{data.[nimi-suli]}} ({{data.[jan-pali]}})</a>
</li>
{{/each}}
</ul>

<h4>toki toki</h4>
<ul>
{{#each collections.[toki-toki]}}
<li>
<a href="{{page.url}}">{{data.[nimi-suli]}} ({{data.[jan-pali]}})</a>
</li>
{{/each}}
</ul>
{{/if}}
{{/each}}

0 comments on commit e9b2d2e

Please sign in to comment.