mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-30 17:53:28 -05:00 
			
		
		
		
	Support subsections
This commit is contained in:
		| @@ -10,6 +10,31 @@ | ||||
|     </span> | ||||
| </h1> | ||||
|  | ||||
| <div class="sections"> | ||||
|     {{ range .Sections }} | ||||
|  | ||||
|     <a class="section-anchor" href="{{ .Permalink }}"> | ||||
|         <div class="section"> | ||||
|                 <h2 class="section-title"> | ||||
|                     {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} | ||||
|                     {{ .Title | markdownify }} | ||||
|                 </h2> | ||||
|  | ||||
|                 <div class="section-description"> | ||||
|                     {{ if .Description }} | ||||
|                     <p> | ||||
|                         {{ .Description | markdownify }} | ||||
|                     </p> | ||||
|                     {{ else }} | ||||
|                     {{ .Summary }} | ||||
|                     {{ end }} | ||||
|                 </div> | ||||
|         </div> | ||||
|     </a> | ||||
|  | ||||
|     {{ end }} | ||||
| </div> | ||||
|  | ||||
| <div class="posts"> | ||||
|     {{ range .Paginator.Pages }} | ||||
|         {{ .Render "summary" }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user