Standardize file indentation

This commit is contained in:
nemunaire 2026-05-17 18:04:50 +08:00
commit bad7e8e689
14 changed files with 734 additions and 492 deletions

View file

@ -1,14 +1,24 @@
{{ if isset .Site.Params "carousel" }}
{{ if gt (len .Site.Params.carousel) 0 }}
<section id="screenshots" class="carousel text-light p-4 pt-5 d-flex flex-nowrap align-items-center" style="gap: 1em 1em; overflow-x: scroll">
{{ range sort .Site.Params.carousel "weight" }}
<figure class="my-5 mr-5 text-center" style="min-width: 65vw">
<a href="{{ .image }}">
<img class="rounded img-thumbnail" src="{{ .image }}" alt="{{ .title }}" loading="lazy" style="max-height: 80vh;">
</a>
<figcaption class="mt-2 text-center">{{ .description | markdownify }}</figcaption>
</figure>
{{ end }}
{{ if isset .Site.Params "carousel" }} {{ if gt (len .Site.Params.carousel) 0 }}
<section
id="screenshots"
class="carousel text-light p-4 pt-5 d-flex flex-nowrap align-items-center"
style="gap: 1em 1em; overflow-x: scroll"
>
{{ range sort .Site.Params.carousel "weight" }}
<figure class="my-5 mr-5 text-center" style="min-width: 65vw">
<a href="{{ .image }}">
<img
class="rounded img-thumbnail"
src="{{ .image }}"
alt="{{ .title }}"
loading="lazy"
style="max-height: 80vh"
/>
</a>
<figcaption class="mt-2 text-center">
{{ .description | markdownify }}
</figcaption>
</figure>
{{ end }}
</section>
{{ end }}
{{ end }}
{{ end }} {{ end }}