mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-27 04:51:42 +01:00
35 lines
1.0 KiB
Markdown
35 lines
1.0 KiB
Markdown
---
|
|
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 |
|
|
| cover.linkFullImages | boolean | true \| false |
|
|
| cover.responsiveImages | boolean | true \| false |
|
|
|
|
### Page Variables
|
|
|
|
| name | type | example |
|
|
| ------------- | ------- | ---------------- |
|
|
| showtoc | boolean | true \| false |
|
|
| tocopen | boolean | true \| false |
|
|
| hidemeta | boolean | true \| false |
|
|
| cover.image | string | `'featured.jpg'` |
|
|
| cover.caption | string | `'<text>'` |
|
|
| cover.alt | string | `'<alt text>'` |
|