mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-31 10:03:30 -05:00 
			
		
		
		
	Move prevnext to be above related posts
This commit is contained in:
		| @@ -50,20 +50,6 @@ | ||||
|         {{ .Content }} | ||||
|     </div> | ||||
|  | ||||
|     {{ $related := .Site.RegularPages.Related . | first 10 }} | ||||
|     {{ with $related }} | ||||
|         <div class="related"> | ||||
|             <hr> | ||||
|             <h2>{{ i18n "related_posts" }}</h2> | ||||
|             <div class="related-posts"> | ||||
|                 {{ range . }} | ||||
|                     {{ .Render "summary/post" }} | ||||
|                 {{ end }} | ||||
|             </div> | ||||
|             <hr> | ||||
|         </div> | ||||
|     {{ end }} | ||||
|  | ||||
|     {{ if or .NextInSection .PrevInSection }} | ||||
|         <div class="prevnext"> | ||||
|             {{ with .NextInSection }} | ||||
| @@ -94,6 +80,20 @@ | ||||
|         </div> | ||||
|     {{ end }} | ||||
|  | ||||
|     {{ $related := .Site.RegularPages.Related . | first 10 }} | ||||
|     {{ with $related }} | ||||
|         <div class="related"> | ||||
|             <hr> | ||||
|             <h2>{{ i18n "related_posts" }}</h2> | ||||
|             <div class="related-posts"> | ||||
|                 {{ range . }} | ||||
|                     {{ .Render "summary/post" }} | ||||
|                 {{ end }} | ||||
|             </div> | ||||
|             <hr> | ||||
|         </div> | ||||
|     {{ end }} | ||||
|  | ||||
|     {{ if .Params.comments }} | ||||
|         <div class="comments"> | ||||
|             {{ partial "comments.html" . }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user