mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-02 09:37:33 -05:00
I am trying to make various templates and partials act more like self-contained components. This is in preparation for #113.
22 lines
596 B
HTML
22 lines
596 B
HTML
<article class="page">
|
|
<h2 class="page-title">
|
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
|
</h2>
|
|
|
|
{{ partial "page-metadata/post-short.html" . }}
|
|
|
|
{{ partial "feature-figure.html" . }}
|
|
|
|
{{ with .Summary }}
|
|
<div class="page-description">
|
|
{{ . }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<div class="readmore">
|
|
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
|
</div>
|
|
</article>
|