mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-23 12:33:19 -06:00
30 lines
907 B
HTML
30 lines
907 B
HTML
|
<div class="post">
|
||
|
<div class="post-series-position">
|
||
|
{{ if .Scratch.Get "series_position" }}
|
||
|
({{ .Scratch.Get "series_position" }}/{{ .Scratch.Get "series_total" }})
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
|
||
|
<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/short.html" . }}
|
||
|
|
||
|
{{ with .Resources.GetMatch "feature" }}
|
||
|
<div class="post-media">
|
||
|
{{ partial "figure.html" (dict "src" . "border" true) }}
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
|
||
|
<div class="post-description">
|
||
|
{{ partial "description-or-summary.html" . }}
|
||
|
</div>
|
||
|
|
||
|
<div class="readmore">
|
||
|
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
||
|
</div>
|
||
|
</div>
|