mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 20:23:18 -06:00
28 lines
598 B
HTML
28 lines
598 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ partial "icon.html" "filter" }}
|
|
{{ .Title | markdownify }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ with .Content }}
|
|
{{ . }}
|
|
{{ end }}
|
|
|
|
<div class="page-list">
|
|
{{ with .Paginator.Pages }}
|
|
<ul>
|
|
{{ range . }}
|
|
<li>{{ .Render "summary/post" }}</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|