Delete image-figure.html
parent
f2a3ada177
commit
2a89e99534
@ -1,52 +0,0 @@
|
||||
{{ $params := . }}
|
||||
|
||||
{{ $alt := $params.alt }}
|
||||
{{ $caption := $params.caption }}
|
||||
{{ $compact := $params.compact }}
|
||||
{{ $float := $params.float }}
|
||||
{{ $horizontal := $params.horizontal }}
|
||||
{{ $link := $params.link }}
|
||||
{{ $maxwidth := $params.maxwidth }}
|
||||
{{ $method := $params.method }}
|
||||
{{ $number := $params.number }}
|
||||
{{ $numbered := $params.numbered }}
|
||||
{{ $options := $params.options }}
|
||||
{{ $page := $params.page }}
|
||||
{{ $raw := $params.raw }}
|
||||
{{ $resource := $params.resource }}
|
||||
{{ $src := $params.src }}
|
||||
{{ $title := $params.title }}
|
||||
{{ $vertical := $params.vertical }}
|
||||
{{ $width := $params.width }}
|
||||
|
||||
{{ $content := partial "paige/img.html" (dict
|
||||
"alt" $alt
|
||||
"class" "img-fluid"
|
||||
"method" $method
|
||||
"options" $options
|
||||
"page" $page
|
||||
"raw" $raw
|
||||
"resource" $resource
|
||||
"src" $src
|
||||
"title" $title
|
||||
) }}
|
||||
|
||||
{{ if $link }}
|
||||
{{ $content = partial "paige/a.html" (dict
|
||||
"content" $content
|
||||
"href" $link
|
||||
) }}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "paige/figure.html" (dict
|
||||
"caption" $caption
|
||||
"compact" $compact
|
||||
"content" $content
|
||||
"float" $float
|
||||
"horizontal" $horizontal
|
||||
"maxwidth" $maxwidth
|
||||
"number" $number
|
||||
"numbered" $numbered
|
||||
"vertical" $vertical
|
||||
"width" $width
|
||||
) }}
|
Loading…
Reference in New Issue