Remove inline param for image.html

master
Will Faught 3 years ago
parent 40933e79b1
commit 237f9c39bb

@ -475,7 +475,6 @@ title: Search
### Images
The `paige/image` shortcode provides a figure with a centered image and an optional centered caption.
The image and caption can optionally be displayed inline instead of centered.
The image has optional alt, title, width, and height attributes,
and can optionally be wrapped in an anchor. Only the image source parameter is required.
If the image source is a relative path, it is assumed to be a page resource.

@ -1,4 +1,4 @@
<figure {{ if eq (.Get `inline`) true }} class="figure"{{ else }} class="align-items-center d-flex flex-column"{{ end }}>
<figure class="align-items-center d-flex flex-column">
{{ $link := .Get 2 | default (.Get `link`) }}
{{ with $link }}
<a href="{{ . }}">

Loading…
Cancel
Save