diff options
author | binarization <hi@binarization.com> | 2018-10-30 22:00:06 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-10-30 22:00:06 +0800 |
commit | b55831b3035a83543f421964212992f033a05e3c (patch) | |
tree | 9b2bd01b489845f17b5a397362e594436e93e256 | |
parent | 5e356c5f635d45f0241854d9f43f38b2f0bd44f9 (diff) |
fix(config): MediaType's Suffix deprecated warning (#103)
`MediaType.Suffix` has now been deprecated.
-rw-r--r-- | exampleSite/config.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 14fa960..412c080 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -186,7 +186,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配 # Uncomment these options to make hugo output .md files. #[mediaTypes] # [mediaTypes."text/plain"] -# suffix = "md" +# suffixes = ["md"] # #[outputFormats.MarkDown] # mediaType = "text/plain" |