Remove hero param maxheight default

master
Will Faught 2 years ago
parent 8b013dc758
commit c41343e23c

@ -432,7 +432,7 @@ Parameters:
<dt><code>imageclass</code></dt>
<dd>Optional. String. Class attribute value.</dd>
<dt><code>maxheight</code></dt>
<dd>Optional. String. CSS value. Image maximum height. Default is <code>20rem</code>.</dd>
<dd>Optional. String. CSS value. Image maximum height.</dd>
<dt><code>maxwidth</code></dt>
<dd>Optional. String. CSS value. Image maximum width.</dd>
<dt><code>process</code></dt>

@ -18,6 +18,7 @@ title: "Paige"
header="An advanced Hugo theme"
image="https://images.unsplash.com/photo-1490604001847-b712b0c2f967"
imageclass="object-fit-cover rounded-4 shadow w-100"
maxheight="20rem"
process="1296x webp" >}}
Paige is designed to put your content front and center, avoiding the typical clutter. The look is seamless and smooth, scalable and readable, portable and efficient. The layout is minimal and responsive, using verticality and white space to focus and delineate parts of the page. The implementation is flexible and extensible. It's a versatile canvas that serves most web needs.
{{< /paige/hero >}}

@ -4,7 +4,7 @@
{{ $height := .Get "height" }}
{{ $image := .Get "image" }}
{{ $imageclass := .Get "imageclass" }}
{{ $maxheight := .Get "maxheight" | default "20rem" }}
{{ $maxheight := .Get "maxheight" }}
{{ $maxwidth := .Get "maxwidth" }}
{{ $page := .Page }}
{{ $process := .Get "process" }}

Loading…
Cancel
Save