mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 18:41:37 +01:00
papermod stuff update
This commit is contained in:
parent
d199f5540f
commit
c0fcf738e0
@ -12,7 +12,9 @@ draft: true
|
|||||||
|
|
||||||
## Intro
|
## Intro
|
||||||
|
|
||||||
We'll be using `yml/yaml` format for all examples down below, I recommend using `yml` over `toml` as it is easier to read.
|
- **We'll be using `yml/yaml` format for all examples down below, I recommend using `yml` over `toml` as it is easier to read.**
|
||||||
|
|
||||||
|
- You can find any [YML to TOML](https://www.google.com/search?q=yml+to+toml) converters if necessary.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ Example Site Structure is present here: [exampleSite](https://github.com/adityat
|
|||||||
### Sample `config.yml`
|
### Sample `config.yml`
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
baseURL: 'https://examplesite.com'
|
baseURL: "https://examplesite.com"
|
||||||
title: ExampleSite
|
title: ExampleSite
|
||||||
paginate: 5
|
paginate: 5
|
||||||
theme: hugo-PaperMod
|
theme: hugo-PaperMod
|
||||||
@ -70,62 +70,65 @@ buildExpired: false
|
|||||||
googleAnalytics: UA-123-45
|
googleAnalytics: UA-123-45
|
||||||
|
|
||||||
minify:
|
minify:
|
||||||
disableXML: true
|
disableXML: true
|
||||||
minifyOutput: true
|
minifyOutput: true
|
||||||
|
|
||||||
params:
|
params:
|
||||||
env: production # to enable google analytics, opengraph, twitter-cards and schema.
|
env: production # to enable google analytics, opengraph, twitter-cards and schema.
|
||||||
title: ExampleSite
|
|
||||||
description: 'ExampleSite description'
|
|
||||||
author: Me
|
|
||||||
# author: ["Me", "You"] # multiple authors
|
|
||||||
|
|
||||||
images: "<link or path of image for opengraph, twitter-cards>"
|
|
||||||
|
|
||||||
ShowReadingTime: true
|
|
||||||
ShowShareButtons: true
|
|
||||||
comments: false
|
|
||||||
defaultTheme: auto
|
|
||||||
disableThemeToggle : false
|
|
||||||
disableSpecial1stPost : false
|
|
||||||
|
|
||||||
assets:
|
|
||||||
favicon: '<path / external url>'
|
|
||||||
|
|
||||||
label:
|
|
||||||
text: "Home"
|
|
||||||
icon: /apple-touch-icon.png
|
|
||||||
iconHeight: 35
|
|
||||||
|
|
||||||
# profile-mode
|
|
||||||
profileMode:
|
|
||||||
enabled: false # needs to be explicitly set
|
|
||||||
title: ExampleSite
|
title: ExampleSite
|
||||||
# imageUrl: '<img location>'
|
description: "ExampleSite description"
|
||||||
# imageTitle: my image
|
author: Me
|
||||||
buttons:
|
# author: ["Me", "You"] # multiple authors
|
||||||
- name: Posts
|
|
||||||
url: posts
|
|
||||||
- name: Tags
|
|
||||||
url: tags
|
|
||||||
|
|
||||||
# home-info mode
|
images: "<link or path of image for opengraph, twitter-cards>"
|
||||||
homeInfoParams:
|
|
||||||
Title: "Hi there \U0001F44B"
|
|
||||||
Content: Welcome to my blog
|
|
||||||
|
|
||||||
socialIcons:
|
ShowReadingTime: true
|
||||||
- name: twitter
|
ShowShareButtons: true
|
||||||
url: 'https://twitter.com/'
|
comments: false
|
||||||
- name: stackoverflow
|
defaultTheme: auto
|
||||||
url: 'https://stackoverflow.com'
|
disableThemeToggle: false
|
||||||
- name: github
|
disableSpecial1stPost: false
|
||||||
url: 'https://github.com/'
|
|
||||||
|
|
||||||
|
assets:
|
||||||
|
favicon: "<link / abs url>"
|
||||||
|
favicon16x16: "<link / abs url>"
|
||||||
|
favicon32x32: "<link / abs url>"
|
||||||
|
apple_touch_icon: "<link / abs url>"
|
||||||
|
safari_pinned_tab: "<link / abs url>"
|
||||||
|
|
||||||
analytics:
|
label:
|
||||||
google:
|
text: "Home"
|
||||||
SiteVerificationTag: "XYZabc"
|
icon: /apple-touch-icon.png
|
||||||
|
iconHeight: 35
|
||||||
|
|
||||||
|
# profile-mode
|
||||||
|
profileMode:
|
||||||
|
enabled: false # needs to be explicitly set
|
||||||
|
title: ExampleSite
|
||||||
|
# imageUrl: '<img location>'
|
||||||
|
# imageTitle: my image
|
||||||
|
buttons:
|
||||||
|
- name: Posts
|
||||||
|
url: posts
|
||||||
|
- name: Tags
|
||||||
|
url: tags
|
||||||
|
|
||||||
|
# home-info mode
|
||||||
|
homeInfoParams:
|
||||||
|
Title: "Hi there \U0001F44B"
|
||||||
|
Content: Welcome to my blog
|
||||||
|
|
||||||
|
socialIcons:
|
||||||
|
- name: twitter
|
||||||
|
url: "https://twitter.com/"
|
||||||
|
- name: stackoverflow
|
||||||
|
url: "https://stackoverflow.com"
|
||||||
|
- name: github
|
||||||
|
url: "https://github.com/"
|
||||||
|
|
||||||
|
analytics:
|
||||||
|
google:
|
||||||
|
SiteVerificationTag: "XYZabc"
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user