mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-05 00:15:59 -06:00
28 lines
617 B
HTML
28 lines
617 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ partial "icon.html" "user-circle" }}
|
|
{{ .Title | markdownify }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ partial "post-metadata/author.html" . }}
|
|
|
|
{{ .Content }}
|
|
|
|
<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 }}
|