mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-16 13:05:58 -06:00
22 lines
597 B
HTML
22 lines
597 B
HTML
<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" .) }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<div class="post-description">
|
|
{{ partial "description-or-summary.html" . }}
|
|
</div>
|
|
|
|
<div class="readmore">
|
|
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
|
</div>
|