mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-13 20:05:58 -06:00
27 lines
837 B
HTML
27 lines
837 B
HTML
<div class="post">
|
|
<h2 class="post-title">
|
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
|
</h2>
|
|
|
|
{{ partial "post-metadata/series.html" . }}
|
|
|
|
<div class="post-description">
|
|
{{ partial "description-or-summary.html" . }}
|
|
</div>
|
|
|
|
<div class="series-pages">
|
|
<ul>
|
|
{{ $i := 0 }}
|
|
{{ $total := len .Data.Pages }}
|
|
{{ range .Data.Pages.Reverse }}
|
|
{{ $i = add 1 $i }}
|
|
{{ .Scratch.Set "series_position" $i }}
|
|
{{ .Scratch.Set "series_total" $total }}
|
|
<li>{{ .Render "summary/series_post" }}</li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</div>
|