papermod stuff update

This commit is contained in:
Aditya Telange 2020-11-11 10:27:42 +05:30
parent d199f5540f
commit c0fcf738e0
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 56 additions and 51 deletions

View File

@ -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.
--- ---

View File

@ -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
@ -76,7 +76,7 @@ minify:
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 title: ExampleSite
description: 'ExampleSite description' description: "ExampleSite description"
author: Me author: Me
# author: ["Me", "You"] # multiple authors # author: ["Me", "You"] # multiple authors
@ -86,11 +86,15 @@ params:
ShowShareButtons: true ShowShareButtons: true
comments: false comments: false
defaultTheme: auto defaultTheme: auto
disableThemeToggle : false disableThemeToggle: false
disableSpecial1stPost : false disableSpecial1stPost: false
assets: assets:
favicon: '<path / external url>' favicon: "<link / abs url>"
favicon16x16: "<link / abs url>"
favicon32x32: "<link / abs url>"
apple_touch_icon: "<link / abs url>"
safari_pinned_tab: "<link / abs url>"
label: label:
text: "Home" text: "Home"
@ -116,12 +120,11 @@ params:
socialIcons: socialIcons:
- name: twitter - name: twitter
url: 'https://twitter.com/' url: "https://twitter.com/"
- name: stackoverflow - name: stackoverflow
url: 'https://stackoverflow.com' url: "https://stackoverflow.com"
- name: github - name: github
url: 'https://github.com/' url: "https://github.com/"
analytics: analytics:
google: google: