mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-11-07 19:13:01 +00:00
Add mv-categories/mv-category microformat
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
{{define "category list"}}Category list{{end}}
|
{{define "category list"}}Category list{{end}}
|
||||||
{{define "title"}}{{template "category list"}}{{end}}
|
{{define "title"}}{{template "category list"}}{{end}}
|
||||||
{{define "body"}}
|
{{define "body"}}
|
||||||
<main class="main-width">
|
<main class="main-width mv-categories">
|
||||||
<h1>{{template "title"}}</h1>
|
<h1 class="p-name">{{template "title"}}</h1>
|
||||||
{{if len .Categories}}
|
{{if len .Categories}}
|
||||||
<ol>
|
<ol>
|
||||||
{{range .Categories}}
|
{{range .Categories}}
|
||||||
<li>
|
<li class="mv-category">
|
||||||
<a class="wikilink" href="/category/{{.}}">{{beautifulName .}}</a>
|
<a class="wikilink u-url p-name" href="/category/{{.}}">{{beautifulName .}}</a>
|
||||||
</li>
|
</li>
|
||||||
{{end}}
|
{{end}}
|
||||||
</ol>
|
</ol>
|
||||||
|
|||||||
Reference in New Issue
Block a user