From d0f0c14df2fe882151b852a202c5eb106f99f6a6 Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Fri, 23 Dec 2016 19:50:09 +0100 Subject: [PATCH 1/2] Don't trim trailing whitespaces for markdown --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 12b2424..437199c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -25,3 +25,6 @@ indent_size = 4 [Makefile] indent_style = tab + +[*.md] +trim_trailing_whitespace = false From 8de3534447cec704ba25c0ba8be666e078a696d6 Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Fri, 23 Dec 2016 19:50:26 +0100 Subject: [PATCH 2/2] The content shall not big that wide, but more readable --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 21aaa1b..351b103 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,7 +3,7 @@
-
+
{{ range where .Site.Pages "Type" "page" }} {{ .Content }} {{ end }}