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
homeInfoParams:
Title: "PaperMod v3.0"
Title: "PaperMod"
Content: >
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
alt: "<alt 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.

View File

@ -16,7 +16,7 @@ draft: true
### Site Variables
| name | type | example | Description |
| ---------------------- | ------------ | ------------------------ | ------------------------------------------------------- |
| ---------------------- | ------------ | ------------------------ | ----------------------------------------------------------------------------------- |
| env | string | 'production' | To set env to production |
| title | string | 'My Blog' | To set title |
| 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 |
| 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 |
| 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.icon | string | '/apple-touch-icon.png' | To display a logo image in label |