Template formatting

This commit is contained in:
Will Faught
2023-01-10 21:30:40 -08:00
parent 4af9532c74
commit f3c02d6922
3 changed files with 5 additions and 5 deletions

View File

@@ -51,7 +51,7 @@
<figure>
{{ if eq $type "grid" }}
<div class="container-fluid{{ if $caption }} figure-img{{ end }} px-0">
<div class="container-fluid {{ if $caption }} figure-img {{ end }} px-0">
<div class="align-items-{{ $align }} gx-3 gy-3 justify-content-{{ $justify }} row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4 row-cols-xl-5 row-cols-xxl-6">
{{ with $inner }}
{{ . }}
@@ -77,7 +77,7 @@
{{ if not (or $height $maxheight) }}
{{ $maxheight = $maxheight | default "10rem" }}
{{ end }}
<div class="align-items-{{ $align }} column-gap-3 d-flex{{ with $caption }} figure-img{{ end }} flex-wrap justify-content-{{ $justify }} row-gap-3">
<div class="align-items-{{ $align }} column-gap-3 d-flex {{ with $caption }} figure-img {{ end }} flex-wrap justify-content-{{ $justify }} row-gap-3">
{{ with $inner }}
{{ . }}
{{ else }}