mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 11:45:26 +01:00 
			
		
		
		
	post: update features
This commit is contained in:
		| @@ -31,6 +31,15 @@ or | ||||
| params: | ||||
|     defaultTheme: dark | ||||
| ``` | ||||
|  | ||||
| or | ||||
|  | ||||
| ```yml | ||||
| params: | ||||
|     defaultTheme: auto # to switch between dark or light according to browser theme | ||||
| ``` | ||||
| </details> | ||||
|  | ||||
| --- | ||||
|  | ||||
| ## Archives Layout | ||||
| @@ -106,6 +115,16 @@ adds `[draft]` mark to indicate draft pages. | ||||
|  | ||||
| --- | ||||
|  | ||||
| ## Cover for a Post | ||||
|  | ||||
| In post's page-variables add : | ||||
|  | ||||
| ```yml | ||||
| cover = "<absolute image url>" # can also paste direct link from external site ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png | ||||
| ``` | ||||
|  | ||||
|  | ||||
|  | ||||
| ## Scroll-to-Top Button | ||||
|     Displays a Scroll-to-Top button in right-bottom corner | ||||
|  | ||||
| @@ -146,6 +165,11 @@ To show ToC add following to page-variables | ||||
| ShowToc: true | ||||
| ``` | ||||
|  | ||||
| To keep Toc Open by default on a post add following to page-variables: | ||||
| ```yml | ||||
| TocOpen: true | ||||
| ``` | ||||
|  | ||||
| --- | ||||
|  | ||||
| ## Comments | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange