remove unnecessary if statement
This commit is contained in:
		
							parent
							
								
									5efec67714
								
							
						
					
					
						commit
						034efcb463
					
				| @ -22,7 +22,6 @@ | |||||||
| 
 | 
 | ||||||
|     {{ if .Params.Toc }} |     {{ if .Params.Toc }} | ||||||
|     <div class="table-of-contents"> |     <div class="table-of-contents"> | ||||||
|       {{ if .Params.Toc }} |  | ||||||
|         <h1> |         <h1> | ||||||
|           {{ if .Params.TocTitle }} |           {{ if .Params.TocTitle }} | ||||||
|             {{ .Params.TocTitle }} |             {{ .Params.TocTitle }} | ||||||
| @ -32,7 +31,6 @@ | |||||||
|             Table of Contents |             Table of Contents | ||||||
|           {{ end }} |           {{ end }} | ||||||
|         </h1> |         </h1> | ||||||
|       {{ end }} |  | ||||||
|       {{ .TableOfContents }} |       {{ .TableOfContents }} | ||||||
|     </div> |     </div> | ||||||
|     {{ end }} |     {{ end }} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user