mirror of
				https://github.com/ZetaKebab/kesper.git
				synced 2025-11-04 08:09:49 +00:00 
			
		
		
		
	Layout settings cleanup
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}}{{#match @custom.feed_layout "!=" "List"}}{{#is "home"}}{{^is "paged"}}{{#has index="0"}}{{#match @custom.first_post_layout "Large card"}} post-card-large{{/match}}{{#match @custom.first_post_layout "Full-width card"}} post-card-full{{/match}}{{/has}}{{#match @custom.feed_layout "Dynamic grid"}}{{#match @custom.first_post_layout "None"}}{{#has index="0,1"}} dynamic{{/has}}{{else}}{{#has index="1,2"}} dynamic{{/has}}{{/match}}{{/match}}{{/is}}{{/is}}{{else}}{{#is "home"}} post-card-large{{/is}}{{/match}}{{#if @custom.keep_card_thumbnail_ratio}} keep-ratio{{/if}}">
 | 
			
		||||
<article class="post-card {{post_class}}{{#match @custom.feed_layout "Classic"}}{{#is "home"}}{{#has index="0"}} post-card-large{{/has}}{{#has index="1,2"}} dynamic{{/has}}{{/is}}{{/match}}{{#match @custom.feed_layout "Grid"}} keep-ratio{{/match}}{{#match @custom.feed_layout "List"}}{{#is "home"}} post-card-large{{/is}}{{/match}}">
 | 
			
		||||
 | 
			
		||||
    {{#if feature_image}}
 | 
			
		||||
        <a class="post-card-image-link" href="{{url}}">
 | 
			
		||||
@@ -42,6 +42,6 @@ which templates loop over to generate a list of posts. --}}
 | 
			
		||||
            {{/if}}
 | 
			
		||||
        </footer>
 | 
			
		||||
 | 
			
		||||
    </div>{{!--/.post-card-content--}}
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
</article>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user