Format
This commit is contained in:
@@ -6,13 +6,17 @@
|
||||
<section>
|
||||
{{ if $page.Params.image_url }}
|
||||
{{ $class := "mw-100 rounded-4 shadow" }}
|
||||
|
||||
{{ if $page.Params.image_stretch }}
|
||||
{{ $class = "rounded-4 shadow w-100" }}
|
||||
{{ end }}
|
||||
|
||||
{{ $style := "height: 20rem" }}
|
||||
|
||||
{{ if $page.Params.image_stretch }}
|
||||
{{ $style = "height: 20rem; object-fit: cover" }}
|
||||
{{ end }}
|
||||
|
||||
<p {{ if not .Params.image_stretch }} class="text-center" {{ end }}>
|
||||
{{ partial "paige/img.html" (dict
|
||||
"class" $class
|
||||
@@ -25,16 +29,16 @@
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ with $page.Params.greeting }}
|
||||
<p class="display-5 fw-bold h2 text-center">{{ . | markdownify }}</p>
|
||||
<p class="display-5 fw-bold h2 text-center">{{ . | markdownify }}</p>
|
||||
{{ end }}
|
||||
{{ with $page.Params.blurb }}
|
||||
<div class="container-fluid">
|
||||
<div class="justify-content-center row">
|
||||
<div class="col col-auto col-lg-7 px-0">
|
||||
<p class="lead text-center">{{ . | markdownify }}</p>
|
||||
<div class="container-fluid">
|
||||
<div class="justify-content-center row">
|
||||
<div class="col col-auto col-lg-7 px-0">
|
||||
<p class="lead text-center">{{ . | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ partial "paige/toc.html" $page }}
|
||||
|
Reference in New Issue
Block a user