mirror of
				https://github.com/ZetaKebab/kesper.git
				synced 2025-11-04 08:09:49 +00:00 
			
		
		
		
	Introduce new post loop partial + new multi-author post meta
This commit is contained in:
		
							
								
								
									
										25
									
								
								partials/loop.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								partials/loop.hbs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
{{! Previous/next page links - only displayed on page 2+ }}
 | 
			
		||||
<div class="extra-pagination inner">
 | 
			
		||||
    {{pagination}}
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
{{! This is the post loop - each post will be output using this markup }}
 | 
			
		||||
{{#foreach posts}}
 | 
			
		||||
<article class="{{post_class}}">
 | 
			
		||||
    <header class="post-header">
 | 
			
		||||
        <h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
 | 
			
		||||
    </header>
 | 
			
		||||
    <section class="post-excerpt">
 | 
			
		||||
        <p>{{excerpt words="30"}} <a class="read-more" href="{{url}}">»</a></p>
 | 
			
		||||
    </section>
 | 
			
		||||
    <footer class="post-meta">
 | 
			
		||||
        <img class="author-thumb" src="{{author.image}}" alt="Author image" nopin="nopin" />
 | 
			
		||||
        <a href="{{@blog.url}}/author/{{author.slug}}">{{author.name}}</a>
 | 
			
		||||
        {{tags prefix=" on "}} 
 | 
			
		||||
        <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time> 
 | 
			
		||||
    </footer>
 | 
			
		||||
</article>
 | 
			
		||||
{{/foreach}}
 | 
			
		||||
 | 
			
		||||
{{! Previous/next page links - displayed on every page }}
 | 
			
		||||
{{pagination}}
 | 
			
		||||
		Reference in New Issue
	
	Block a user