1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00

Add mv-categories/mv-category microformat

This commit is contained in:
Timur Ismagilov 2023-02-18 22:35:25 +03:00
parent dda0cf70c5
commit e03d17f9a1

View File

@ -1,13 +1,13 @@
{{define "category list"}}Category list{{end}}
{{define "title"}}{{template "category list"}}{{end}}
{{define "body"}}
<main class="main-width">
<h1>{{template "title"}}</h1>
<main class="main-width mv-categories">
<h1 class="p-name">{{template "title"}}</h1>
{{if len .Categories}}
<ol>
{{range .Categories}}
<li>
<a class="wikilink" href="/category/{{.}}">{{beautifulName .}}</a>
<li class="mv-category">
<a class="wikilink u-url p-name" href="/category/{{.}}">{{beautifulName .}}</a>
</li>
{{end}}
</ol>