fix(style): add bootstrap class to figure
All checks were successful
Deploy workflow / deploy (push) Successful in 13s
All checks were successful
Deploy workflow / deploy (push) Successful in 13s
This commit is contained in:
parent
a77c74bc70
commit
f9e49913bf
2 changed files with 6 additions and 5 deletions
|
|
@ -17,10 +17,10 @@
|
|||
{{ $featuredImage := .Resources.GetMatch (.Params.featured_image.src | safeURL) }}
|
||||
{{ if $featuredImage }}
|
||||
{{ $featuredImage = $featuredImage.Resize "600x" }}
|
||||
<figure>
|
||||
<img alt="" src="{{ $featuredImage.RelPermalink }}" />
|
||||
<figure class="figure">
|
||||
<img class="figure-img img-fluid" alt="" src="{{ $featuredImage.RelPermalink }}" />
|
||||
{{ with .Params.featured_image.caption }}
|
||||
<figcaption>{{ . }}</figcaption>
|
||||
<figcaption class="figure-caption">{{ . }}</figcaption>
|
||||
{{ end }}
|
||||
</figure>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue