mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-28 16:53:30 -05:00 
			
		
		
		
	All posts should be under a div instead of only when there's none
This commit is contained in:
		| @@ -10,13 +10,13 @@ | |||||||
|     </span> |     </span> | ||||||
| </h1> | </h1> | ||||||
|  |  | ||||||
| {{ range .Paginator.Pages }} | <div class="posts"> | ||||||
|     {{ .Render "summary" }} |     {{ range .Paginator.Pages }} | ||||||
| {{ else }} |         {{ .Render "summary" }} | ||||||
| <div> |     {{ else }} | ||||||
|     {{ i18n "no_posts" }} |         {{ i18n "no_posts" }} | ||||||
|  |     {{ end }} | ||||||
| </div> | </div> | ||||||
| {{ end }} |  | ||||||
|  |  | ||||||
| {{ if gt .Paginator.TotalPages 1 }} | {{ if gt .Paginator.TotalPages 1 }} | ||||||
| <div class="pagination"> | <div class="pagination"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user