Move paige.main.metadata.table_of_contents to main
This commit is contained in:
		| @@ -319,8 +319,6 @@ paige: | ||||
|         hide: false # Don't include this page in search results; default is false | ||||
|       section: | ||||
|         class: "paige-metadata w-100" # Default is "paige-metadata w-100" | ||||
|       table_of_contents: | ||||
|         hide: false # Default is false | ||||
|       terms: | ||||
|         hide: false # Default is false | ||||
|         inner_class: "badge text-bg-secondary text-decoration-none" # Default is "badge text-bg-secondary text-decoration-none" | ||||
| @@ -328,6 +326,8 @@ paige: | ||||
|       title: | ||||
|         class: "display-5 fw-bold text-center" # Default is "display-5 fw-bold text-center" | ||||
|         hide: false # Default is false | ||||
|     table_of_contents: | ||||
|       hide: false # Default is false | ||||
|   rss: | ||||
|     managing_editor: "Michael Bluth" # Default is "" | ||||
|     web_master: "Michael Bluth" # Default is "" | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| {{ $page := . }} | ||||
|  | ||||
| {{ if and $page.Content ($page.Param "paige.main.metadata.table_of_contents.hide" | not) (not (eq ($page.Scratch.Get "paige_list_show_content") true)) (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }} | ||||
| {{ if and $page.Content ($page.Param "paige.main.table_of_contents.hide" | not) (not (eq ($page.Scratch.Get "paige_list_show_content") true)) (ne $page.TableOfContents `<nav id="TableOfContents"></nav>`) }} | ||||
|     <section class="paige-toc"> | ||||
|         <div class="border mb-3 pe-3 ps-3 pt-3 rounded"> | ||||
|             {{ $page.TableOfContents }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user