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:
Michael Kuhn 2021-08-01 22:28:25 +02:00 committed by GitHub
parent 4b8b71aa3e
commit f867973ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -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"
``` ```