Skip to content

Commit

Permalink
Merge pull request #24 from jonnydark/liquid-warning-fix
Browse files Browse the repository at this point in the history
Remove errant parenthesis to fix liquid syntax error thantks to @jonnydark
  • Loading branch information
gayanvirajith authored Jun 7, 2017
2 parents 56a5f0c + 1f97e42 commit eb8867d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="post">
<h1>{{ page.title }}</h1>
<p class="post-meta">
{% if (page.categories.size > 0 %}
{% if page.categories.size > 0 %}
<span class="categories">
{{ page.categories | array_to_sentence_string }}
</span> |
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3 class="post-title">
</h3>

<p class="post-meta">
{% if (post.categories.size > 0 %}
{% if post.categories.size > 0 %}
<span class="categories">
{{ post.categories | array_to_sentence_string }}
</span> |
Expand All @@ -36,4 +36,4 @@ <h3 class="post-title">
<div class="post-footer">
<div class="column-full"><a href="{{ '/blog' | prepend: site.baseurl | prepend: site.url }}">Blog archive</a></div>
</div>
</div>
</div>

0 comments on commit eb8867d

Please sign in to comment.