mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-23 12:33:19 -06:00
29 lines
847 B
HTML
29 lines
847 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>
|
|
<a href="{{ .Permalink }}">
|
|
<p>{{ .Title | markdownify }}</p>
|
|
</a>
|
|
{{ partial "description-or-summary.html" . }}
|
|
{{ partial "post-metadata/category.html" . }}
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|