mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
31 lines
959 B
HTML
31 lines
959 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ partial "icon.html" "folder" }}
|
|
{{ .Title | markdownify }}
|
|
</h1>
|
|
|
|
<div class="category-list">
|
|
{{ with .Data.Terms.Alphabetical }}
|
|
<ul>
|
|
{{ range . }}
|
|
{{ with .Page }}
|
|
<li>
|
|
<div class="category-list-left">
|
|
<a href="{{ .Permalink }}">
|
|
<p>{{ .Title | markdownify }}</p>
|
|
</a>
|
|
{{ partial "post-metadata/category.html" . }}
|
|
</div>
|
|
{{ partial "description-or-summary.html" . }}
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|