Add markdown format
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
fd3f851033
commit
4b2d91c47a
2 changed files with 9 additions and 1 deletions
|
@ -32,14 +32,22 @@ posts = "/:year/:month/:slug/"
|
||||||
[mediaTypes]
|
[mediaTypes]
|
||||||
[mediaTypes."application/atom+xml"]
|
[mediaTypes."application/atom+xml"]
|
||||||
suffixes = ["xml"]
|
suffixes = ["xml"]
|
||||||
|
[mediaTypes."text/plain"]
|
||||||
|
suffixes = ["md"]
|
||||||
|
|
||||||
[outputFormats.Atom]
|
[outputFormats.Atom]
|
||||||
mediaType = "application/atom+xml"
|
mediaType = "application/atom+xml"
|
||||||
baseName = "index"
|
baseName = "index"
|
||||||
isPlainText = true
|
isPlainText = true
|
||||||
|
|
||||||
|
[outputFormats.Md]
|
||||||
|
mediaType = "text/plain"
|
||||||
|
baseName = "index"
|
||||||
|
isPlainText = true
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = ["HTML", "Atom"]
|
home = ["HTML", "Atom"]
|
||||||
|
page = ["HTML", "Md"]
|
||||||
|
|
||||||
[markup.goldmark]
|
[markup.goldmark]
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 275f1327a43d9f8119192939e3909c5fc0f24a31
|
Subproject commit 0fdde2560e0d655878c457311276a156320b411c
|
Loading…
Reference in a new issue