update :P

This commit is contained in:
Aditya Telange 2020-09-24 11:54:04 +05:30
parent 40c69710f2
commit 3ac510484e
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
5 changed files with 46 additions and 14 deletions

View File

@ -43,7 +43,7 @@ params:
- name: linkedin
url: '#'
- name: github
url: '#'
url: 'https://github.com/adityatelange/hugo-PaperMod'
markup:
tableOfContents:

View File

@ -17,6 +17,7 @@ series = ["Themes Guide"]
aliases = ["migrate-from-jekyl"]
ShowToc = true
TocOpen = true
weight = 2
+++
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.

View File

@ -2,13 +2,11 @@
title: "Papermod - Features"
date: 2020-09-16T11:30:03+05:30
showToc: true
TocOpen: true
weight: 2
aliases: ['/papermod-features']
tags: ['PaperMod']
author: "Aditya Telange"
ShowToc: true
TocOpen: true
tocopen: true
---
## Assets (js/css)
@ -121,12 +119,17 @@ adds `[draft]` mark to indicate draft pages.
In post's page-variables add :
```yml
cover = "<absolute image url>" # can also paste direct link from external site ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png
cover = "<absolute image url>"
# can also paste direct link from external site
# ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png
```
![](https://user-images.githubusercontent.com/21258296/93084795-3579ae80-f6b2-11ea-98c1-eee4061eb836.png)
## Scroll-to-Top Button
---
## Scroll-to-Top Button (by default)
Displays a Scroll-to-Top button in right-bottom corner
---
@ -157,7 +160,7 @@ Params:
---
## Show Table of Contents on blog post
## Show Table of Contents (Toc) on blog post
Displays ToC on blog-pages
@ -166,7 +169,7 @@ To show ToC add following to page-variables
ShowToc: true
```
To keep Toc Open by default on a post add following to page-variables:
To keep Toc Open **by default** on a post add following to page-variables:
```yml
TocOpen: true
```
@ -182,17 +185,18 @@ to add comments, create a html file
and paste code provided by your comments provider
also in config add this
```yml
params:
comments: true
```
more : read [this](https://gohugo.io/content-management/comments/)
read more about this [here](https://gohugo.io/content-management/comments/)
---
### Scroll-Bar themed
## Scroll-Bar themed (by default)
---
### Smooth Scroll between in-page links
## Smooth Scroll between in-page links (by default)

View File

@ -1,8 +1,8 @@
---
title: "Papermod - Icons"
date: 2020-09-17T11:30:03+05:30
showToc: true
TocOpen: true
showtoc: true
tocopen: true
weight: 3
aliases: ['/papermod-icons']
tags: ['PaperMod']

View File

@ -0,0 +1,27 @@
---
title: "Papermod - Variables"
date: 2020-09-24T11:33:33+05:30
showToc: true
TocOpen: true
tags: ['PaperMod']
author: "Aditya Telange"
draft: true
---
## Variables in PaperMod
Below are variables used with this theme...
### Site Variables
| name | type | example |
| - | - | - |
| ShowReadingTime | boolean | true \| false |
| defaultTheme | string | light \| dark \| auto |
| ShowShareButtons | boolean | true \| false |
### Page Variables
| name | type | example |
| - | - | - |
| showtoc | boolean | true \| false |
| tocopen | boolean | true \| false |
| hidemeta | boolean | true \| false |