init staticcms
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
		
				commit
				
					
						57d66eb0c1
					
				
			
		
					 16 changed files with 221 additions and 0 deletions
				
			
		
							
								
								
									
										11
									
								
								templates/blog.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								templates/blog.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
{% extends "layout.html" %}
 | 
			
		||||
{% from "macros/blog.html" import render_blog_post %}
 | 
			
		||||
{% from "macros/pagination.html" import render_pagination %}
 | 
			
		||||
{% block title %}{{ this.title }}{% endblock %}
 | 
			
		||||
{% block body %}
 | 
			
		||||
  {% for child in this.pagination.items %}
 | 
			
		||||
    {{ render_blog_post(child, from_index=true) }}
 | 
			
		||||
  {% endfor %}
 | 
			
		||||
 | 
			
		||||
  {{ render_pagination(this.pagination) }}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue