mirror of
https://github.com/ivabus/www
synced 2024-11-25 01:25:09 +03:00
Add categories and tags pages
This commit is contained in:
parent
85cfd15e7b
commit
4b11aeb40b
3 changed files with 1 additions and 0 deletions
0
src/content/categories/_index.md
Normal file
0
src/content/categories/_index.md
Normal file
0
src/content/tags/_index.md
Normal file
0
src/content/tags/_index.md
Normal file
|
@ -34,6 +34,7 @@
|
||||||
<div class="p-4 pb-5">
|
<div class="p-4 pb-5">
|
||||||
<a href="{{ .RelPermalink }}"><h3>{{ .Title }}</h3></a>
|
<a href="{{ .RelPermalink }}"><h3>{{ .Title }}</h3></a>
|
||||||
<span class="grid-gray">{{ .Date.Format "2006-01-02" }}</span>
|
<span class="grid-gray">{{ .Date.Format "2006-01-02" }}</span>
|
||||||
|
<span class="grid-gray">Categories: {{ range .Params.categories }}<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>, {{ end }}</span>
|
||||||
<span class="preview-content small">{{ .Content }}</span>
|
<span class="preview-content small">{{ .Content }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue