mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -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 }}
|