From f752b362f0c5dcaff260a2d5e65ae9d68b83295c Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 8 Oct 2017 12:56:28 +0100 Subject: [PATCH] staticref shortcode: Fix formatting by removing whitespace (Fix #295) --- .editorconfig | 3 +++ layouts/shortcodes/staticref.html | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 4d86300c..574c0a26 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,3 +15,6 @@ max_line_length = 100 [*.md] trim_trailing_whitespace = false + +[layouts/shortcodes/*.html] +insert_final_newline = false diff --git a/layouts/shortcodes/staticref.html b/layouts/shortcodes/staticref.html index acd22d50..9c9c7d7a 100644 --- a/layouts/shortcodes/staticref.html +++ b/layouts/shortcodes/staticref.html @@ -1,3 +1 @@ - - {{ .Inner }} - +{{ .Inner }} \ No newline at end of file