diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-01-17 12:51:46 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-01-17 12:51:46 +0100 |
commit | b661132e0ac651fa229511f05f58554717f4d0d0 (patch) | |
tree | 7e1b3ff9ca2f2284809f840c067edc308aa35f52 /docs/content/en/getting-started | |
parent | d595419031b247d6f15a615f6e70b1956ff8eab1 (diff) | |
parent | ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382 (diff) | |
download | hugo-b661132e0ac651fa229511f05f58554717f4d0d0.tar.gz hugo-b661132e0ac651fa229511f05f58554717f4d0d0.zip |
Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382'
Diffstat (limited to 'docs/content/en/getting-started')
-rw-r--r-- | docs/content/en/getting-started/configuration-markup.md | 3 | ||||
-rw-r--r-- | docs/content/en/getting-started/configuration.md | 8 | ||||
-rw-r--r-- | docs/content/en/getting-started/usage.md | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/docs/content/en/getting-started/configuration-markup.md b/docs/content/en/getting-started/configuration-markup.md index 4694bd439..b55bd79c4 100644 --- a/docs/content/en/getting-started/configuration-markup.md +++ b/docs/content/en/getting-started/configuration-markup.md @@ -32,6 +32,9 @@ For details on the extensions, refer to [this section](https://github.com/yuin/g Some settings explained: +hardWrap +: By default, Goldmark ignores newlines within a paragraph. Set to `true` to render newlines as `<br>` elements. + unsafe : By default, Goldmark does not render raw HTMLs and potentially dangerous links. If you have lots of inline HTML and/or JavaScript, you may need to turn this on. diff --git a/docs/content/en/getting-started/configuration.md b/docs/content/en/getting-started/configuration.md index 39f27453f..3c9b42678 100644 --- a/docs/content/en/getting-started/configuration.md +++ b/docs/content/en/getting-started/configuration.md @@ -173,6 +173,12 @@ Pass down default configuration values (front matter) to pages in the content tr Enable to turn relative URLs into absolute. +### cleanDestinationDir + +**Default value:** false + +When building, removes files from destination not found in static directories. + ### contentDir **Default value:** "content" @@ -231,7 +237,7 @@ Disable automatic live reloading of browser window. **Default value:** false -: Do not convert the url/path to lowercase. +Do not convert the url/path to lowercase. ### enableEmoji diff --git a/docs/content/en/getting-started/usage.md b/docs/content/en/getting-started/usage.md index edf3e82a5..15cf46cbf 100644 --- a/docs/content/en/getting-started/usage.md +++ b/docs/content/en/getting-started/usage.md @@ -120,7 +120,7 @@ hugo server --navigateToChanged As noted above, Hugo does not clear the public directory before building your site. Manually clear the contents of the public directory before each build to remove draft, expired, and future content. {{% /note %}} -When are ready to deploy your site, run: +When you are ready to deploy your site, run: ```bash hugo |