mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-30 17:53:28 -05:00 
			
		
		
		
	- Rename feature-figure.html and its class from post-media to featured-media - Move all <figure> formatting to a separate section - Put the .featured-media CSS next to the rest of the figure formatting as it's sorta a special case of regular figure
		
			
				
	
	
		
			11 lines
		
	
	
		
			290 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			290 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{ with .Resources.Get "feature" }}
 | |
|     <div class="featured-media">
 | |
|         <figure>
 | |
|             {{ partial "embed-resource.html" . }}
 | |
|             {{ with .Title }}
 | |
|                 <figcaption>{{ . | markdownify }}</figcaption>
 | |
|             {{ end }}
 | |
|         </figure>
 | |
|     </div>
 | |
| {{ end }}
 |