Change image shortcode to use div
This commit is contained in:
@@ -288,4 +288,4 @@
|
||||
{{ $content = partial "paige/a.html" (dict "content" $content "href" $link "page" $page) }}
|
||||
{{ end }}
|
||||
|
||||
<span class="paige-image">{{ $content }}</span>
|
||||
{{ $content }}
|
||||
|
@@ -25,10 +25,6 @@ body, html {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.paige-figure .paige-image {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.paige-figure .paige-quote > blockquote {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
@@ -17,24 +17,26 @@
|
||||
{{ $title := .Get "title" }}
|
||||
{{ $width := .Get "width" }}
|
||||
|
||||
{{ partial "paige/image.html" (dict
|
||||
"alt" $alt
|
||||
"breakpoints" $breakpoints
|
||||
"class" $class
|
||||
"densities" $densities
|
||||
"fetchpriority" $fetchpriority
|
||||
"height" $height
|
||||
"link" $link
|
||||
"linked" $linked
|
||||
"loading" $loading
|
||||
"maxheight" $maxheight
|
||||
"maxwidth" $maxwidth
|
||||
"page" .Page
|
||||
"process" $process
|
||||
"sizes" $sizes
|
||||
"src" $src
|
||||
"srcset" $srcset
|
||||
"style" $style
|
||||
"title" $title
|
||||
"width" $width
|
||||
) }}
|
||||
<div class="paige-image">
|
||||
{{ partial "paige/image.html" (dict
|
||||
"alt" $alt
|
||||
"breakpoints" $breakpoints
|
||||
"class" $class
|
||||
"densities" $densities
|
||||
"fetchpriority" $fetchpriority
|
||||
"height" $height
|
||||
"link" $link
|
||||
"linked" $linked
|
||||
"loading" $loading
|
||||
"maxheight" $maxheight
|
||||
"maxwidth" $maxwidth
|
||||
"page" .Page
|
||||
"process" $process
|
||||
"sizes" $sizes
|
||||
"src" $src
|
||||
"srcset" $srcset
|
||||
"style" $style
|
||||
"title" $title
|
||||
"width" $width
|
||||
) }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user