mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-24 22:10:39 +00:00
docs: improve getting started post (#77)
The getting started post contains a few inconsistencies: - The atom feed does not work due to a typo - The menu icons do not show up due to wrong icon names - The full configuration does not mention `pluralizeListTitles` and `paginate`
This commit is contained in:
parent
4b8b71aa3e
commit
f867973ed6
@ -106,7 +106,7 @@ To prepare your new site environment just a few steps are required:
|
|||||||
noUgly = true
|
noUgly = true
|
||||||
permalinkable = false
|
permalinkable = false
|
||||||
|
|
||||||
[outputFormats.outputs]
|
[outputs]
|
||||||
home = ["HTML", "ATOM"]
|
home = ["HTML", "ATOM"]
|
||||||
page = ["HTML"]
|
page = ["HTML"]
|
||||||
section = ["HTML"]
|
section = ["HTML"]
|
||||||
@ -168,6 +168,9 @@ baseURL = "http://localhost"
|
|||||||
title = "Geekblog"
|
title = "Geekblog"
|
||||||
theme = "hugo-geekblog"
|
theme = "hugo-geekblog"
|
||||||
|
|
||||||
|
paginate = 5
|
||||||
|
pluralizeListTitles = false
|
||||||
|
|
||||||
# Required to get well formatted code blocks
|
# Required to get well formatted code blocks
|
||||||
pygmentsUseClasses = true
|
pygmentsUseClasses = true
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
@ -278,6 +281,9 @@ enableGitInfo = true
|
|||||||
|
|
||||||
theme: hugo-geekblog
|
theme: hugo-geekblog
|
||||||
|
|
||||||
|
paginate: 5
|
||||||
|
pluralizeListTitles: false
|
||||||
|
|
||||||
# Required to get well formatted code blocks
|
# Required to get well formatted code blocks
|
||||||
pygmentsUseClasses: true
|
pygmentsUseClasses: true
|
||||||
pygmentsCodeFences: true
|
pygmentsCodeFences: true
|
||||||
@ -462,13 +468,13 @@ If you want to customize the menus (header and footer), this can be achieved by
|
|||||||
---
|
---
|
||||||
header:
|
header:
|
||||||
- name: Github Profile
|
- name: Github Profile
|
||||||
icon: github
|
icon: gblog_github
|
||||||
ref: "https://github.com/xoxys"
|
ref: "https://github.com/xoxys"
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
- name: Contact
|
- name: Contact
|
||||||
icon: email
|
icon: gblog_email
|
||||||
ref: "/contact"
|
ref: "/contact"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user