mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-30 17:53:28 -05:00 
			
		
		
		
	I am trying to make various templates and partials act more like self-contained components. This is in preparation for #113.
		
			
				
	
	
		
			12 lines
		
	
	
		
			216 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			216 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div class="page-list">
 | |
|     {{ with . }}
 | |
|         {{ range . }}
 | |
|             {{ .Render "summary" }}
 | |
|         {{ end }}
 | |
|     {{ else }}
 | |
|         <div>
 | |
|             {{ i18n "no_posts" }}
 | |
|         </div>
 | |
|     {{ end }}
 | |
| </div>
 |