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
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`
```yml
baseURL: 'https://examplesite.com'
baseURL: "https://examplesite.com"
title: ExampleSite
paginate: 5
theme: hugo-PaperMod
@ -76,7 +76,7 @@ minify:
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: ExampleSite
description: 'ExampleSite description'
description: "ExampleSite description"
author: Me
# author: ["Me", "You"] # multiple authors
@ -90,7 +90,11 @@ params:
disableSpecial1stPost: false
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:
text: "Home"
@ -116,12 +120,11 @@ params:
socialIcons:
- name: twitter
url: 'https://twitter.com/'
url: "https://twitter.com/"
- name: stackoverflow
url: 'https://stackoverflow.com'
url: "https://stackoverflow.com"
- name: github
url: 'https://github.com/'
url: "https://github.com/"
analytics:
google: