iimg shortcut: add missing class attribute
This commit is contained in:
		
							parent
							
								
									9051375a03
								
							
						
					
					
						commit
						93de6c6a98
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -21,7 +21,8 @@ | |||
|   {{- end -}}   | ||||
|   {{- if $refPage -}} | ||||
|     <a href="{{ $refPage.Permalink }}"><img  | ||||
|         src="{{ $image.RelPermalink }}" alt="{{ or $alt $refPage.Title }}"></a> | ||||
|         src="{{ $image.RelPermalink }}" alt="{{ or $alt $refPage.Title }}" | ||||
| 			class="{{ $class }}"></a> | ||||
|   {{- else -}} | ||||
|     <img src="{{ $image.RelPermalink }}" alt="{{ $alt }}" class="{{ $class }}"> | ||||
|   {{- end -}} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue