mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-02 01:37:33 -05:00
- Rename feature-figure.html and its class from post-media to featured-media - Move all <figure> formatting to a separate section - Put the .featured-media CSS next to the rest of the figure formatting as it's sorta a special case of regular figure
22 lines
633 B
HTML
22 lines
633 B
HTML
<article class="summary-card">
|
|
<h2 class="summary-card-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 "featured-media.html" . }}
|
|
|
|
{{ with .Summary }}
|
|
<div class="summary-card-description">
|
|
{{ . }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<div class="summary-card-readmore">
|
|
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
|
</div>
|
|
</article>
|