From 4b2d91c47ad96f5cdfc6d78345d1ff61ac154ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Wed, 12 Aug 2020 22:56:58 +0200 Subject: [PATCH] Add markdown format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- config.toml | 8 ++++++++ themes/kiss | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 483a6f8..c16612f 100644 --- a/config.toml +++ b/config.toml @@ -32,14 +32,22 @@ posts = "/:year/:month/:slug/" [mediaTypes] [mediaTypes."application/atom+xml"] suffixes = ["xml"] + [mediaTypes."text/plain"] + suffixes = ["md"] [outputFormats.Atom] mediaType = "application/atom+xml" baseName = "index" isPlainText = true +[outputFormats.Md] +mediaType = "text/plain" +baseName = "index" +isPlainText = true + [outputs] home = ["HTML", "Atom"] +page = ["HTML", "Md"] [markup.goldmark] [markup.goldmark.renderer] diff --git a/themes/kiss b/themes/kiss index 275f132..0fdde25 160000 --- a/themes/kiss +++ b/themes/kiss @@ -1 +1 @@ -Subproject commit 275f1327a43d9f8119192939e3909c5fc0f24a31 +Subproject commit 0fdde2560e0d655878c457311276a156320b411c