Add a Newsletter Section within the Blog Post Listing
SOLVE
Hello team,
I was looking at the HUBL documentation and was looking for a way to find the index of all blog posts and insert a newsletter module after the 2nd post. And after that, the rest of the recent blogs will appear. How can I create an array or list of blog feed so that I can inject the newsletter column like the design below?
Add a Newsletter Section within the Blog Post Listing
SOLVE
Thank you @jonchim! This solution worked. Although the newsletter is appearing after the 1st post on the listing. I assume it's just a matter of changing the values of the if statement loop index to get it to appear after the 2nd post.