mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-22 05:00:39 +00:00
docs: normalize getting started config examples (#80)
This brings the getting started post closer to the configuration used for the example site by using `feed` as the feed's basename. Moreover, `enableRobotsTXT` was missing from the TOML configuration.
This commit is contained in:
parent
f867973ed6
commit
3e67c89bcc
@ -99,7 +99,7 @@ To prepare your new site environment just a few steps are required:
|
||||
[outputFormats.Atom]
|
||||
name = "Atom"
|
||||
mediaType = "application/atom+xml"
|
||||
baseName = "atom"
|
||||
baseName = "feed"
|
||||
isPlainText = false
|
||||
rel = "alternate"
|
||||
isHTML = false
|
||||
@ -177,6 +177,9 @@ pygmentsCodeFences = true
|
||||
disablePathToLower = true
|
||||
enableGitInfo = true
|
||||
|
||||
# Required if you want to render robots.txt template
|
||||
enableRobotsTXT = true
|
||||
|
||||
[markup]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
@ -198,7 +201,7 @@ enableGitInfo = true
|
||||
name = "Atom"
|
||||
mediaType = "application/atom+xml"
|
||||
# generated file = <baseName>.<mediaType."application/atom+xml".suffixes[0]> = atom.xml
|
||||
baseName = "atom"
|
||||
baseName = "feed"
|
||||
isPlainText = false
|
||||
rel = "alternate"
|
||||
isHTML = false
|
||||
@ -290,6 +293,9 @@ pygmentsCodeFences: true
|
||||
disablePathToLower: true
|
||||
enableGitInfo: true
|
||||
|
||||
# Required if you want to render robots.txt template
|
||||
enableRobotsTXT: true
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
@ -313,7 +319,7 @@ outputFormats:
|
||||
name: "Atom"
|
||||
mediaType: "application/atom+xml"
|
||||
# generated file: <baseName>.<mediaType."application/atom+xml".suffixes[0]> = atom.xml
|
||||
baseName: "atom"
|
||||
baseName: "feed"
|
||||
isPlainText: false
|
||||
rel: "alternate"
|
||||
isHTML: false
|
||||
@ -334,9 +340,6 @@ outputs:
|
||||
- HTML
|
||||
- ATOM
|
||||
|
||||
# Required if you want to render robots.txt template
|
||||
enableRobotsTXT: true
|
||||
|
||||
params:
|
||||
subtitle: "Blog about my favorite topics"
|
||||
description: "This is my personal blog about tech."
|
||||
|
Loading…
Reference in New Issue
Block a user