mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
parent
79d978aa74
commit
0593160cbd
@ -36,7 +36,7 @@ Inside the folder of your Hugo site, run:
|
|||||||
git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1
|
git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note**: You may use ` --branch v3.0` to end of above command if you want to stick to specific release.
|
**Note**: You may use ` --branch v5.0` to end of above command if you want to stick to specific release.
|
||||||
|
|
||||||
> Updating theme :
|
> Updating theme :
|
||||||
>
|
>
|
||||||
@ -138,6 +138,7 @@ params:
|
|||||||
ShowShareButtons: true
|
ShowShareButtons: true
|
||||||
ShowPostNavLinks: true
|
ShowPostNavLinks: true
|
||||||
ShowBreadCrumbs: true
|
ShowBreadCrumbs: true
|
||||||
|
ShowCodeCopyButtons: false
|
||||||
disableSpecial1stPost: false
|
disableSpecial1stPost: false
|
||||||
disableScrollToTop: false
|
disableScrollToTop: false
|
||||||
comments: false
|
comments: false
|
||||||
@ -260,6 +261,7 @@ draft: false
|
|||||||
hidemeta: false
|
hidemeta: false
|
||||||
comments: false
|
comments: false
|
||||||
description: "Desc Text."
|
description: "Desc Text."
|
||||||
|
canonicalURL: "https://canonical.url/to/page"
|
||||||
disableHLJS: true # to disable highlightjs
|
disableHLJS: true # to disable highlightjs
|
||||||
disableShare: false
|
disableShare: false
|
||||||
disableHLJS: false
|
disableHLJS: false
|
||||||
|
@ -23,8 +23,11 @@ weight: 5
|
|||||||
| `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 |
|
||||||
| `keywords` | list | [blog, page] | Add keywords for Home page |
|
| `keywords` | list | [blog, page] | Add keywords for Home page |
|
||||||
| `DateFormat` | string | "January 2, 2006" | The format of date strings in the website. [Details](https://gohugo.io/functions/format/) |
|
| `DateFormat` | string | "January 2, 2006" | The format of date strings in the website. [Details](https://gohugo.io/functions/format/) |
|
||||||
|
| `languageAltTitle` | string | "English" | Alternate title in Multilingual Mode |
|
||||||
| `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 |
|
||||||
|
| `ShowCodeCopyButtons` | boolean | true \| false | To show/hide Code Copy button |
|
||||||
|
| `ShowFullTextinRSS` | boolean | true \| false | To show Content in RSS feed |
|
||||||
| `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 |
|
||||||
@ -138,12 +141,13 @@ editPost:
|
|||||||
### 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 |
|
||||||
|
| `canonicalURL` | string | "https://canonical.url/to/page" | To add canonical URL to posts |
|
||||||
| `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` | boolean | true \| false | To disable Highlight.js loading |
|
| `disableHLJS` | boolean | true \| false | To disable Highlight.js loading |
|
||||||
| `searchHidden` | boolean | true \| false | Hide page from search |
|
| `searchHidden` | boolean | true \| false | Hide page from search |
|
||||||
|
Loading…
Reference in New Issue
Block a user