add some some about #182

This commit is contained in:
Aditya Telange 2021-01-17 12:47:32 +05:30
parent 4f15ed8fe8
commit 78b9e9a97b
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
3 changed files with 25 additions and 20 deletions

View File

@ -120,7 +120,7 @@ params:
url: tags url: tags
homeInfoParams: homeInfoParams:
Title: "PaperMod v3.0" Title: "PaperMod"
Content: > Content: >
Welcome to demo of hugo's theme PaperMod. Welcome to demo of hugo's theme PaperMod.

View File

@ -204,6 +204,7 @@ cover:
# ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png # ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png
alt: "<alt text>" alt: "<alt text>"
caption: "<text>" caption: "<text>"
relative: false # To use relative path for cover image, used in hugo Page-bundles
``` ```
When you include images in the [Page Bundle](https://gohugo.io/content-management/page-bundles/), multiple sizes of the image will automatically be provided using the HTML5 `srcset` field. When you include images in the [Page Bundle](https://gohugo.io/content-management/page-bundles/), multiple sizes of the image will automatically be provided using the HTML5 `srcset` field.

View File

@ -15,25 +15,29 @@ draft: true
### Site Variables ### Site Variables
| 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 | ["Me","You"] | list | To show multiple Authors | | author | ["Me","You"] | list | 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 | | ShowReadingTime | boolean | true \| false | To show read time in post meta |
| ShowShareButtons | boolean | true \| false | To show/hide share buttons under post | | ShowShareButtons | boolean | true \| false | To show/hide share buttons under post |
| defaultTheme | string | light \| dark \| auto | To set default theme | | defaultTheme | string | light \| dark \| auto | To set default theme |
| disableThemeToggle | boolean | true \| false | To disable theme toggle icon shown besides label | | disableThemeToggle | boolean | true \| false | To disable theme toggle icon shown besides label |
| disableSpecial1stPost | boolean | true \| false | To disable no-card special appearance of 1st post | | disableSpecial1stPost | boolean | true \| false | To disable no-card special appearance of 1st post |
| | | | | | hidemeta | boolean | true \| false | To Hide meta elements : date, read-time, author and available-translations for page |
| label.text | string | 'Home' | To display different label text other than title | | showtoc | boolean | true \| false | To show/hide Table of Contents |
| label.icon | string | '/apple-touch-icon.png' | To display a logo image in label | | tocopen | boolean | true \| false | To keep open ToC by default on page load |
| label.iconHeight | integer | 35 | To set size of label logo image | | comments | boolean | true \| false | To show/hide comments |
| assets.favicon | string | 'icon.ico' | To set favicon, can be path or external link | | | | | |
| cover.linkFullImages | boolean | true \| false | To open full size cover images on click on cover | | label.text | string | 'Home' | To display different label text other than title |
| cover.responsiveImages | boolean | true \| false | To enable/disable generation of responsive cover images | | label.icon | string | '/apple-touch-icon.png' | To display a logo image in label |
| label.iconHeight | integer | 35 | To set size of label logo image |
| assets.favicon | string | 'icon.ico' | To set favicon, can be path or external link |
| cover.linkFullImages | boolean | true \| false | To open full size cover images on click on cover |
| cover.responsiveImages | boolean | true \| false | To enable/disable generation of responsive cover images |
--- ---