mirror of
				https://github.com/ItsDrike/itsdrike.com.git
				synced 2025-11-04 12:16:37 +00:00 
			
		
		
		
	Add support for images in content
This commit is contained in:
		
							parent
							
								
									60849fcdc6
								
							
						
					
					
						commit
						fa18460df0
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
 | 
			
		||||
{{ if .Params.image }}
 | 
			
		||||
  <img class="mb-3 header-image" src='{{ .Params.image }}' />
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
<h1 class="display-4">{{ .Title }}</h1>
 | 
			
		||||
{{ if .Params.subtitle }}
 | 
			
		||||
  <h5 class="my-3">{{ markdownify .Params.subtitle | emojify }}</h5>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue