mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-01 17:27:34 -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
11 lines
290 B
HTML
11 lines
290 B
HTML
{{ with .Resources.Get "feature" }}
|
|
<div class="featured-media">
|
|
<figure>
|
|
{{ partial "embed-resource.html" . }}
|
|
{{ with .Title }}
|
|
<figcaption>{{ . | markdownify }}</figcaption>
|
|
{{ end }}
|
|
</figure>
|
|
</div>
|
|
{{ end }}
|