mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
add some some about #182
This commit is contained in:
parent
4f15ed8fe8
commit
78b9e9a97b
@ -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.
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -16,7 +16,7 @@ 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 |
|
||||||
@ -27,6 +27,10 @@ draft: true
|
|||||||
| 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 |
|
||||||
|
| showtoc | boolean | true \| false | To show/hide Table of Contents |
|
||||||
|
| tocopen | boolean | true \| false | To keep open ToC by default on page load |
|
||||||
|
| comments | boolean | true \| false | To show/hide comments |
|
||||||
| | | | |
|
| | | | |
|
||||||
| label.text | string | 'Home' | To display different label text other than title |
|
| label.text | string | 'Home' | To display different label text other than title |
|
||||||
| label.icon | string | '/apple-touch-icon.png' | To display a logo image in label |
|
| label.icon | string | '/apple-touch-icon.png' | To display a logo image in label |
|
||||||
|
Loading…
Reference in New Issue
Block a user