add DateFormat in variables

Aditya Telange 2021-02-24 17:36:53 +05:30
parent 8e67f57e71
commit da7ee31a71
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

@ -7,33 +7,34 @@
### Site Variables under `Params` ### Site Variables under `Params`
| name | type | example | Description | | name | type | example | Description |
| -------------------------------------- | ------------- | ------------------------ | ----------------------------------------------------------------------------------- | | -------------------------------------- | ------------- | ------------------------ | ----------------------------------------------------------------------------------------- |
| `env` | string | 'production' | To set env to production | | `env` | string | 'production' | To set env to production |
| `title` | string | 'My Blog' | To set title | | `title` | string | 'My Blog' | To set title |
| `description` | string | 'This is a blog of mine' | To set site description | | `description` | string | 'This is a blog of mine' | To set site description |
| `author` | string \|list | 'Me' \| ['Me','You'] | To show multiple Authors | | `author` | string \|list | 'Me' \| ['Me','You'] | To show multiple Authors |
| `images` | string | 'myimage.png' | Link or path of image for opengraph, twitter-cards | | `images` | string | 'myimage.png' | Link or path of image for opengraph, twitter-cards |
| `ShowReadingTime` | boolean | true \| false | To show read time in post meta | | `DateFormat` | string | "January 2, 2006" | The format of date strings in the website. [Details](https://gohugo.io/functions/format/) |
| `ShowShareButtons` | boolean | true \| false | To show/hide share buttons under post | | `ShowReadingTime` | boolean | true \| false | To show read time in post meta |
| `defaultTheme` | string | light \| dark \| auto | To set default theme | | `ShowShareButtons` | boolean | true \| false | To show/hide share buttons under post |
| `disableThemeToggle` | boolean | true \| false | To disable theme toggle icon shown besides label | | `defaultTheme` | string | light \| dark \| auto | To set default theme |
| `disableSpecial1stPost` | boolean | true \| false | To disable no-card special appearance of 1st post | | `disableThemeToggle` | boolean | true \| false | To disable theme toggle icon shown besides label |
| `hidemeta` | boolean | true \| false | To Hide meta elements : date, read-time, author and available-translations for page | | `disableSpecial1stPost` | boolean | true \| false | To disable no-card special appearance of 1st post |
| `showtoc` | boolean | true \| false | To show/hide Table of Contents | | `hidemeta` | boolean | true \| false | To Hide meta elements : date, read-time, author and available-translations for page |
| `tocopen` | boolean | true \| false | To keep open ToC by default on page load | | `showtoc` | boolean | true \| false | To show/hide Table of Contents |
| `ShowPostNavLinks` | boolean | true \| false | Show Previous and Next Posts below a Post | | `tocopen` | boolean | true \| false | To keep open ToC by default on page load |
| `ShowBreadCrumbs` | boolean | true \| false | Show BreadCrumb Navigation above single post/page | | `ShowPostNavLinks` | boolean | true \| false | Show Previous and Next Posts below a Post |
| `comments` | boolean | true \| false | To show/hide comments | | `ShowBreadCrumbs` | boolean | true \| false | Show BreadCrumb Navigation above single post/page |
| `analytics.google.SiteVerificationTag` | string | "XYZabc" | Site Verification Tag for Google Analytics | | `comments` | boolean | true \| false | To show/hide comments |
| `analytics.bing.SiteVerificationTag` | string | "XYZabc" | Site Verification Tag for Bing | | `analytics.google.SiteVerificationTag` | string | "XYZabc" | Site Verification Tag for Google Analytics |
| `analytics.yandex.SiteVerificationTag` | string | "XYZabc" | Site Verification Tag for Yandex | | `analytics.bing.SiteVerificationTag` | string | "XYZabc" | Site Verification Tag for Bing |
| `fuseOpts` | - | - | [Details](#fuseOpts) | | `analytics.yandex.SiteVerificationTag` | string | "XYZabc" | Site Verification Tag for Yandex |
| `socialIcons` | - | - | [Details](#socialIcons) | | `fuseOpts` | - | - | [Details](#fuseOpts) |
| `label` | - | - | [Details](#label) | | `socialIcons` | - | - | [Details](#socialIcons) |
| `assets` | - | - | [Details](#assets) | | `label` | - | - | [Details](#label) |
| `cover` | - | - | [Details](#cover) | | `assets` | - | - | [Details](#assets) |
| `profileMode` | - | - | [Details](#profilemode) | | `cover` | - | - | [Details](#cover) |
| `profileMode` | - | - | [Details](#profilemode) |
#### label #### label