mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
28 lines
598 B
HTML
28 lines
598 B
HTML
|
{{ define "main" }}
|
||
|
<h1>
|
||
|
{{ partial "icon.html" "folder" }}
|
||
|
{{ .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 }}
|