add default image rendered for md
This commit is contained in:
		
							parent
							
								
									7cc89d81b0
								
							
						
					
					
						commit
						11421b609b
					
				
							
								
								
									
										8
									
								
								layouts/_default/_markup/render-image.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								layouts/_default/_markup/render-image.html
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | ||||
| {{ if .Title }} | ||||
|   <figure> | ||||
|       <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title }}title="{{ . }}"{{ end }}> | ||||
|     <figcaption>{{ .Title }}</figcaption> | ||||
|   </figure> | ||||
| {{ else }} | ||||
|   <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}"> | ||||
| {{ end }} | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user