mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382'
This commit is contained in:
@@ -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.
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user