mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
28 lines
557 B
HTML
28 lines
557 B
HTML
{{ define "main" }}
|
|
|
|
<h1>
|
|
{{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
|
{{ .Title | markdownify }}
|
|
<span class="rss-link">
|
|
{{ with .OutputFormats.Get "rss" }}
|
|
<a href="{{ .Permalink }}">{{ partial "icon.html" "rss" }}</a>
|
|
{{ end }}
|
|
</span>
|
|
</h1>
|
|
|
|
{{ range .Paginator.Pages }}
|
|
{{ .Render "summary" }}
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ if gt .Paginator.TotalPages 1 }}
|
|
<div class="pagination">
|
|
{{ template "_internal/pagination.html" . }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ end }}
|