diff --git a/config.yml b/config.yml index 89b5ac3..da400c1 100644 --- a/config.yml +++ b/config.yml @@ -10,6 +10,27 @@ params: nav_items: 5 index_items: 6 +mediaTypes: + text/markdown: + suffix: md +outputFormats: + markdown: + name: "md" + mediaType: "text/markdown" + isPlainText: true +outputs: + home: + - "html" + - "rss" + - "md" + section: + - "html" + - "rss" + - "md" + page: + - "html" + - "md" + staticDir: "static/build" buildDrafts: false diff --git a/layouts/_default/list.md b/layouts/_default/list.md new file mode 100644 index 0000000..aebd892 --- /dev/null +++ b/layouts/_default/list.md @@ -0,0 +1,3 @@ +# {{ .Title | plainify }} + +{{ .RawContent | safeHTML }} diff --git a/layouts/_default/single.md b/layouts/_default/single.md new file mode 100644 index 0000000..aebd892 --- /dev/null +++ b/layouts/_default/single.md @@ -0,0 +1,3 @@ +# {{ .Title | plainify }} + +{{ .RawContent | safeHTML }}