From b55831b3035a83543f421964212992f033a05e3c Mon Sep 17 00:00:00 2001 From: binarization Date: Tue, 30 Oct 2018 22:00:06 +0800 Subject: [PATCH] fix(config): MediaType's Suffix deprecated warning (#103) `MediaType.Suffix` has now been deprecated. --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"