From d8e9009d226844206923c6cfdddd465e0f66ea3d Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 28 Mar 2023 11:08:33 -0700 Subject: [PATCH] fix: loop syntax --- src/feed.11ty.liquid | 2 +- src/follow.11ty.liquid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/feed.11ty.liquid b/src/feed.11ty.liquid index f7e9f1f2..ac90c2e0 100644 --- a/src/feed.11ty.liquid +++ b/src/feed.11ty.liquid @@ -12,7 +12,7 @@ permalink: '/feed.json' { "title": "{{ item.data.title }}", "url": "{{ item.url }}" - }{% if not loop.last %},{% endif %} + }{% if not forloop.last %},{% endif %} {% endfor %} ] } \ No newline at end of file diff --git a/src/follow.11ty.liquid b/src/follow.11ty.liquid index d5c61df5..171ce549 100644 --- a/src/follow.11ty.liquid +++ b/src/follow.11ty.liquid @@ -12,7 +12,7 @@ permalink: '/follow.json' { "title": "{{ item.title }}", "url": "{{ item.url }}" - }{% if not loop.last %},{% endif %} + }{% if not forloop.last %},{% endif %} {% endfor %} ] } \ No newline at end of file