mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-30 09:43:29 -05:00 
			
		
		
		
	Don't put the no_posts message inside a <ul>
				
					
				
			This commit is contained in:
		| @@ -15,15 +15,17 @@ | ||||
|         {{ end }} | ||||
|  | ||||
|         <div class="page-list"> | ||||
|             <ul> | ||||
|                 {{ range .Paginator.Pages }} | ||||
|                     <li>{{ .Render "summary/post" }}</li> | ||||
|                 {{ else }} | ||||
|                     <div> | ||||
|                         {{ i18n "no_posts" }} | ||||
|                     </div> | ||||
|                 {{ end }} | ||||
|             </ul> | ||||
|             {{ with .Paginator.Pages }} | ||||
|                 <ul> | ||||
|                     {{ range . }} | ||||
|                         <li>{{ .Render "summary/post" }}</li> | ||||
|                     {{ end }} | ||||
|                 </ul> | ||||
|             {{ else }} | ||||
|                 <div> | ||||
|                     {{ i18n "no_posts" }} | ||||
|                 </div> | ||||
|             {{ end }} | ||||
|         </div> | ||||
|     </div> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user