mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-31 10:03:30 -05:00 
			
		
		
		
	Create theme 3
This commit is contained in:
		| @@ -4,21 +4,12 @@ | ||||
|     {{- partial "head.html" . -}} | ||||
|  | ||||
|     <body> | ||||
|         {{ partial "navbar.html" . }} | ||||
|         {{ partial "header.html" . }} | ||||
|  | ||||
|         <div class="page"> | ||||
|             {{ if and .Params.Toc .IsPage }} | ||||
|             <div class="side"> | ||||
|                 <h3>Table of Contents</h3> | ||||
|                 {{ .TableOfContents }} | ||||
|             </div> | ||||
|             {{ end }} | ||||
|  | ||||
|             <div class="content"> | ||||
|             {{- block "main" . }} | ||||
|             {{ .Content }} | ||||
|             {{- end }} | ||||
|             </div> | ||||
|         <div class="content"> | ||||
|         {{- block "main" . }} | ||||
|         {{ .Content }} | ||||
|         {{- end }} | ||||
|         </div> | ||||
|  | ||||
|         {{- partial "footer.html" . -}} | ||||
|   | ||||
| @@ -23,5 +23,12 @@ | ||||
|     {{ end }} | ||||
| </span> | ||||
|  | ||||
| {{ if .Params.Toc }} | ||||
| <div id="table-of-contents"> | ||||
|     <h3>Table of Contents</h3> | ||||
|     {{ .TableOfContents }} | ||||
| </div> | ||||
| {{ end }} | ||||
|  | ||||
| {{ .Content }} | ||||
| {{ end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user