Skip to content

Commit

Permalink
Don't indent with 4 spaces in *.md files with templates, beacuase it …
Browse files Browse the repository at this point in the history
…is unexpectedly parsed as "preformatted text"
  • Loading branch information
piroor committed Sep 26, 2014
1 parent c9a76f4 commit c4bbc4f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions ja/news/index.md
Expand Up @@ -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 %}
8 changes: 4 additions & 4 deletions news/index.md
Expand Up @@ -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 %}

0 comments on commit c4bbc4f

Please sign in to comment.