sitemap added
This commit is contained in:
		
					parent
					
						
							
								7519f26ebb
							
						
					
				
			
			
				commit
				
					
						cfdf9e68bb
					
				
			
		
					 2 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								content/sitemap.xml/contents.lr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								content/sitemap.xml/contents.lr
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
_template: sitemap.xml
 | 
			
		||||
---
 | 
			
		||||
_model: none
 | 
			
		||||
							
								
								
									
										7
									
								
								templates/sitemap.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								templates/sitemap.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
 | 
			
		||||
  {%- for page in [site.root] if page != this recursive %}
 | 
			
		||||
  <url><loc>{{ page|url(external=true) }}</loc></url>
 | 
			
		||||
  {{- loop(page.children) }}
 | 
			
		||||
  {%- endfor %}
 | 
			
		||||
</urlset>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue