mirror of
				https://github.com/ZetaKebab/kesper.git
				synced 2025-11-04 08:09:49 +00:00 
			
		
		
		
	Only use post-card-large variation if feature_image exists (#764)
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
{{!-- This is a partial file used to generate a post "card"
 | 
			
		||||
which templates loop over to generate a list of posts. --}}
 | 
			
		||||
 | 
			
		||||
<article class="post-card {{post_class}} {{#is "home"}}{{#has index="0"}}post-card-large{{/has}}{{/is}}">
 | 
			
		||||
<article class="post-card {{post_class}} {{#is "home"}}{{#if feature_image}}{{#has index="0"}}post-card-large{{/has}}{{/if}}{{/is}}">
 | 
			
		||||
 | 
			
		||||
    {{#if feature_image}}
 | 
			
		||||
    <a class="post-card-image-link" href="{{url}}">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user