mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
update variables
parent
0608d763cf
commit
ea559a1512
36
Variables.md
36
Variables.md
@ -23,6 +23,7 @@
|
|||||||
| showtoc | boolean | true \| false | To show/hide Table of Contents |
|
| showtoc | boolean | true \| false | To show/hide Table of Contents |
|
||||||
| tocopen | boolean | true \| false | To keep open ToC by default on page load |
|
| tocopen | boolean | true \| false | To keep open ToC by default on page load |
|
||||||
| ShowPostNavLinks | boolean | true \| false | Show Previous and Next Posts below a Post |
|
| ShowPostNavLinks | boolean | true \| false | Show Previous and Next Posts below a Post |
|
||||||
|
| ShowBreadCrumbs | boolean | true \| false | Show BreadCrumb Navigation above single post/page |
|
||||||
| comments | boolean | true \| false | To show/hide comments |
|
| comments | boolean | true \| false | To show/hide comments |
|
||||||
| fuseOpts | | | |
|
| fuseOpts | | | |
|
||||||
| socialIcons | | | |
|
| socialIcons | | | |
|
||||||
@ -77,20 +78,21 @@
|
|||||||
|
|
||||||
### Page Variables
|
### Page Variables
|
||||||
|
|
||||||
| Name | Type | Example | Description |
|
| Name | Type | Example | Description |
|
||||||
| -------------- | ------------- | --------------------- | ----------------------------------------------------------------------------------- |
|
| --------------- | ------------- | --------------------- | ----------------------------------------------------------------------------------- |
|
||||||
| showtoc | boolean | true \| false | To show/hide Table of Contents |
|
| showtoc | boolean | true \| false | To show/hide Table of Contents |
|
||||||
| tocopen | boolean | true \| false | To keep open ToC by default on page load |
|
| tocopen | boolean | true \| false | To keep open ToC by default on page load |
|
||||||
| hidemeta | boolean | true \| false | To Hide meta elements : date, read-time, author and available-translations for page |
|
| hidemeta | boolean | true \| false | To Hide meta elements : date, read-time, author and available-translations for page |
|
||||||
| comments | boolean | true \| false | To show/hide comments |
|
| comments | boolean | true \| false | To show/hide comments |
|
||||||
| description | string | 'description text' | Show Post Description under Title |
|
| description | string | 'description text' | Show Post Description under Title |
|
||||||
| disableShare | boolean | true \| false | To hide/show share icons under a page |
|
| disableShare | boolean | true \| false | To hide/show share icons under a page |
|
||||||
| disableHLJS | | | |
|
| disableHLJS | | | |
|
||||||
| author | string \|list | 'Me' \| ['Me','You'] | To show multiple Authors |
|
| ShowBreadCrumbs | boolean | true \| false | Show BreadCrumb Navigation above single post/page |
|
||||||
| cover.image | string | 'featured.jpg' | To add a cover image |
|
| author | string \|list | 'Me' \| ['Me','You'] | To show multiple Authors |
|
||||||
| cover.caption | string | 'caption for image' | To add caption to cover image |
|
| cover.image | string | 'featured.jpg' | To add a cover image |
|
||||||
| cover.alt | string | 'this is cover image' | Alternate text to show if image doesn't load/show up |
|
| cover.caption | string | 'caption for image' | To add caption to cover image |
|
||||||
| cover.relative | boolean | true \| false | To use relative path for cover image, used in hugo Page-bundles |
|
| cover.alt | string | 'this is cover image' | Alternate text to show if image doesn't load/show up |
|
||||||
| cover.hidden | | | |
|
| cover.relative | boolean | true \| false | To use relative path for cover image, used in hugo Page-bundles |
|
||||||
| | | | |
|
| cover.hidden | | | |
|
||||||
| weight | integer | 5 | To set page order or to pin a post to Top of list |
|
| | | | |
|
||||||
|
| weight | integer | 5 | To set page order or to pin a post to Top of list |
|
||||||
|
Loading…
Reference in New Issue
Block a user