mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-03 18:02:45 +01:00 
			
		
		
		
	@@ -36,7 +36,7 @@ Inside the folder of your Hugo site, run:
 | 
			
		||||
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 :
 | 
			
		||||
>
 | 
			
		||||
@@ -138,6 +138,7 @@ params:
 | 
			
		||||
    ShowShareButtons: true
 | 
			
		||||
    ShowPostNavLinks: true
 | 
			
		||||
    ShowBreadCrumbs: true
 | 
			
		||||
    ShowCodeCopyButtons: false
 | 
			
		||||
    disableSpecial1stPost: false
 | 
			
		||||
    disableScrollToTop: false
 | 
			
		||||
    comments: false
 | 
			
		||||
@@ -260,6 +261,7 @@ draft: false
 | 
			
		||||
hidemeta: false
 | 
			
		||||
comments: false
 | 
			
		||||
description: "Desc Text."
 | 
			
		||||
canonicalURL: "https://canonical.url/to/page"
 | 
			
		||||
disableHLJS: true # to disable highlightjs
 | 
			
		||||
disableShare: false
 | 
			
		||||
disableHLJS: false
 | 
			
		||||
 
 | 
			
		||||
@@ -23,8 +23,11 @@ weight: 5
 | 
			
		||||
| `images`                               | string        | 'myimage.png'            | Link or path of image for opengraph, twitter-cards                                        |
 | 
			
		||||
| `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/) |
 | 
			
		||||
| `languageAltTitle`                     | string        | "English"                | Alternate title in Multilingual Mode                                                      |
 | 
			
		||||
| `ShowReadingTime`                      | boolean       | true \| false            | To show read time in post meta                                                            |
 | 
			
		||||
| `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                                                                      |
 | 
			
		||||
| `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                                         |
 | 
			
		||||
@@ -138,12 +141,13 @@ editPost:
 | 
			
		||||
### Page Variables
 | 
			
		||||
 | 
			
		||||
| Name               | Type          | Example                         | Description                                                                         |
 | 
			
		||||
| ------------------ | ------------- | --------------------- | ----------------------------------------------------------------------------------- |
 | 
			
		||||
| ------------------ | ------------- | ------------------------------- | ----------------------------------------------------------------------------------- |
 | 
			
		||||
| `showtoc`          | boolean       | true \| false                   | To show/hide Table of Contents                                                      |
 | 
			
		||||
| `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 |
 | 
			
		||||
| `comments`         | boolean       | true \| false                   | To show/hide comments                                                               |
 | 
			
		||||
| `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                                               |
 | 
			
		||||
| `disableHLJS`      | boolean       | true \| false                   | To disable Highlight.js loading                                                     |
 | 
			
		||||
| `searchHidden`     | boolean       | true \| false                   | Hide page from search                                                               |
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user