mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-18 03:02:07 -04:00
Fix menu for "What is Hugo" page
This commit is contained in:
parent
14555f13eb
commit
9b5fac0bcb
@ -8,7 +8,7 @@ lastmod: 2017-02-01
|
|||||||
layout: single
|
layout: single
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
parent: "About Hugo"
|
parent: "about"
|
||||||
weight: 10
|
weight: 10
|
||||||
weight: 10
|
weight: 10
|
||||||
sections_weight: 10
|
sections_weight: 10
|
||||||
|
@ -31,7 +31,7 @@ This is the full set of built-in media types in Hugo:
|
|||||||
|
|
||||||
**Note:**
|
**Note:**
|
||||||
|
|
||||||
* It is possible to add custom media types or change the defaults; e.g., if want to change the suffix for `text/html` to `asp`.
|
* It is possible to add custom media types or change the defaults; e.g., if you want to change the suffix for `text/html` to `asp`.
|
||||||
* The `Suffix` is the value that will be used for URLs and filenames for that media type in Hugo.
|
* The `Suffix` is the value that will be used for URLs and filenames for that media type in Hugo.
|
||||||
* The `Type` is the identifier that must be used when defining new/custom `Output Formats` (see below).
|
* The `Type` is the identifier that must be used when defining new/custom `Output Formats` (see below).
|
||||||
* The full set of media types will be registered in Hugo's built-in development server to make sure they are recognized by the browser.
|
* The full set of media types will be registered in Hugo's built-in development server to make sure they are recognized by the browser.
|
||||||
@ -42,10 +42,10 @@ Example in `config.toml`:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[mediaTypes]
|
[mediaTypes]
|
||||||
[mediaTypes."text/enriched"]
|
[mediaTypes."text/enriched"]
|
||||||
suffix = "enr"
|
suffix = "enr"
|
||||||
[mediaTypes."text/html"]
|
[mediaTypes."text/html"]
|
||||||
suffix = "asp"
|
suffix = "asp"
|
||||||
```
|
```
|
||||||
|
|
||||||
The above example adds one new media type, `text/enriched`, and changes the suffix for the built-in `text/html` media type.
|
The above example adds one new media type, `text/enriched`, and changes the suffix for the built-in `text/html` media type.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user