Permalink
Browse files

Update Liquid template syntax

  • Loading branch information...
eudoxia0 committed Feb 18, 2018
1 parent 3907f72 commit 67410ea907ec877c58f3f1ec4f06681172408c53
Showing with 2 additions and 1 deletion.
  1. +2 −1 _includes/success-stories.html
@@ -35,7 +35,8 @@ <h2>{{ story.title }}</h2>
{% if story.gallery %}
<div class="gallery">
<ul>
{% for n in (1...story.gallery.count) %}
{% assign count=story.gallery.count %}
{% for n in (1..count) %}
<li>
{% capture path %}{{ include.tag }}/{{ story.gallery.directory }}/{{ n }}.{{ story.gallery.type }}{% endcapture %}
<a href="/assets/img/success/{{ path }}">

0 comments on commit 67410ea

Please sign in to comment.