mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-04 09:31:46 +03:00
Merge commit 'e9fbadacc3
'
This commit is contained in:
commit
0fc86783ee
33 changed files with 608 additions and 443 deletions
|
@ -278,6 +278,12 @@ To remain consistent and prevent unexpected behavior, do not mix these strategie
|
|||
|
||||
(`bool`) Will disable generation of alias redirects. Note that even if `disableAliases` is set, the aliases themselves are preserved on the page. The motivation with this is to be able to generate 301 redirects in an `.htaccess`, a Netlify `_redirects` file or similar using a custom output format. Default is `false`.
|
||||
|
||||
###### disableDefaultLanguageRedirect
|
||||
|
||||
{{< new-in 0.140.0 >}}
|
||||
|
||||
(`bool`) Disables generation of redirect to the default language when DefaultContentLanguageInSubdir is `true`. Default is `false`.
|
||||
|
||||
###### disableHugoGeneratorInject
|
||||
|
||||
(`bool`) Hugo will, by default, inject a generator meta tag in the HTML head on the _home page only_. You can turn it off, but we would really appreciate if you don't, as this is a good way to watch Hugo's popularity on the rise. Default is `false`.
|
||||
|
@ -439,7 +445,7 @@ See [Content Management](/content-management/urls/#permalinks).
|
|||
|
||||
###### publishDir
|
||||
|
||||
(`string`) The directory to where Hugo will write the final static site (the HTML files etc.). Default is `public`.
|
||||
(`string`) The directory where Hugo will write the final static site (the HTML files etc.). Default is `public`.
|
||||
|
||||
###### refLinksErrorLevel
|
||||
|
||||
|
|
|
@ -207,6 +207,10 @@ See [template](#template).
|
|||
|
||||
A directory that contains an index.md file and zero or more [resources](#resource). Analogous to a physical leaf, a leaf bundle is at the end of a branch. It has no descendants. See [details](/content-management/page-bundles/).
|
||||
|
||||
###### lexer
|
||||
|
||||
A software component that identifies keywords, identifiers, operators, numbers, and other basic building blocks of a programming language within the input text.
|
||||
|
||||
###### list page
|
||||
|
||||
Any [page kind](#page-kind) that receives a page [collection](#collection) in [context](#context). This includes the home page, [section pages](#section-page), [taxonomy pages](#taxonomy-page), and [term pages](#term-page).
|
||||
|
|
|
@ -99,7 +99,7 @@ To view your site while developing layouts or creating content, `cd` into your p
|
|||
hugo server
|
||||
```
|
||||
|
||||
The [`hugo server`] command builds your site into memory, and serves your pages using a minimal HTTP server. When you run `hugo server` it will display the URL of your local site:
|
||||
The [`hugo server`] command builds your site and serves your pages using a minimal HTTP server. When you run `hugo server` it will display the URL of your local site:
|
||||
|
||||
```text
|
||||
Web Server is available at http://localhost:1313/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue