55 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{ $params := . }}
 | |
| 
 | |
| {{ $alt := $params.alt }}
 | |
| {{ $caption := $params.caption }}
 | |
| {{ $compact := $params.compact }}
 | |
| {{ $float := $params.float }}
 | |
| {{ $height := $params.height }}
 | |
| {{ $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
 | |
|     "height" $height
 | |
|     "horizontal" $horizontal
 | |
|     "maxwidth" $maxwidth
 | |
|     "number" $number
 | |
|     "numbered" $numbered
 | |
|     "vertical" $vertical
 | |
|     "width" $width
 | |
| ) }}
 |