mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-31 01:53:30 -05:00 
			
		
		
		
	Add a couple divs in index.html for organization
This commit is contained in:
		| @@ -1,29 +1,33 @@ | ||||
| {{ define "main" }} | ||||
|     {{ with .Content }} | ||||
|         {{ . }} | ||||
|         <div class="homepage-content"> | ||||
|             {{ . }} | ||||
|         </div> | ||||
|     {{ end }} | ||||
|  | ||||
|     {{ if .Site.Params.homepageLatestPosts }} | ||||
|         <hr> | ||||
|         <h1> | ||||
|             {{ i18n "latest_posts" }} | ||||
|             {{ partial "rss-link.html" . }} | ||||
|         </h1> | ||||
|         <div class="hompage-latest-posts"> | ||||
|             <hr> | ||||
|             <h1> | ||||
|                 {{ i18n "latest_posts" }} | ||||
|                 {{ partial "rss-link.html" . }} | ||||
|             </h1> | ||||
|  | ||||
|         {{ with (.Paginate .Site.RegularPages).Pages }} | ||||
|             <div class="page-list"> | ||||
|                 <ul> | ||||
|                     {{ range . }} | ||||
|                         <li>{{ .Render "summary/post" }}</li> | ||||
|                     {{ end }} | ||||
|                 </ul> | ||||
|             </div> | ||||
|         {{ else }} | ||||
|             <div> | ||||
|                 {{ i18n "no_posts" }} | ||||
|             </div> | ||||
|         {{ end }} | ||||
|             {{ with (.Paginate .Site.RegularPages).Pages }} | ||||
|                 <div class="page-list"> | ||||
|                     <ul> | ||||
|                         {{ range . }} | ||||
|                             <li>{{ .Render "summary/post" }}</li> | ||||
|                         {{ end }} | ||||
|                     </ul> | ||||
|                 </div> | ||||
|             {{ else }} | ||||
|                 <div> | ||||
|                     {{ i18n "no_posts" }} | ||||
|                 </div> | ||||
|             {{ end }} | ||||
|  | ||||
|         {{ partial "pagination.html" . }} | ||||
|             {{ partial "pagination.html" . }} | ||||
|         </div> | ||||
|     {{ end }} | ||||
| {{ end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user