From c4bbc4f5f06877ac6147eacfb4a7fecf450a18e9 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 26 Sep 2014 13:16:08 +0900 Subject: [PATCH] Don't indent with 4 spaces in *.md files with templates, beacuase it is unexpectedly parsed as "preformatted text" --- ja/news/index.md | 8 ++++---- news/index.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ja/news/index.md b/ja/news/index.md index 21acd039..b13bfa7c 100644 --- a/ja/news/index.md +++ b/ja/news/index.md @@ -5,8 +5,8 @@ use_social_widgets: true --- {% for post in site.posts %} - {% if post.path contains "ja/news/" %} - {% include news-item.ja.html %} - {% else %} - {% endif %} +{% if post.path contains "ja/news/" %} +{% include news-item.html %} +{% else %} +{% endif %} {% endfor %} diff --git a/news/index.md b/news/index.md index 62de60ba..3235030a 100644 --- a/news/index.md +++ b/news/index.md @@ -5,8 +5,8 @@ use_social_widgets: true --- {% for post in site.posts %} - {% if post.path contains "ja/news/" %} - {% else %} - {% include news-item.html %} - {% endif %} +{% if post.path contains "ja/news/" %} +{% else %} +{% include news-item.html %} +{% endif %} {% endfor %}