mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
[skip prod] use categories rather than tags in post list sidebar
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
d00026b179
commit
54b391b4b3
7
layouts/partials/browse-by-tag.html
Normal file
7
layouts/partials/browse-by-tag.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<ul class="tags__list">
|
||||
{{ range $category, $value := $.Site.Taxonomies.categories }}
|
||||
<li class="tag__item">
|
||||
<a class="tag__link" href="{{ "/categories/" | relLangURL}}{{ $category | urlize }}">{{ $category | urlize }} ({{ len $value }})</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
Loading…
Reference in New Issue
Block a user