Jump to content

JSON-T help

Recommended Posts


Are there supposed to me more JSON-T formatters than the ones listed on the template doc? Is there another documentation somewhere I can look up? What I'm trying to do is to check if each tag 'contains' a certain word. So far I only know the {equal?}, but I don't think it would work  in this case. Another workaround I can think of is to extract the first word of each tag, after it's being 'slugified', then use the {equal?} formatter to check. How do I achieve this? 

Below is the code of what I have now..

{.repeated section tags}
  <a class="article-tag" href="{collection.fullUrl}?category={@|url-encode}">{@}</a>{.alternates with}, 


Thank you!!!

Link to comment
  • Replies 1
  • Views 321
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.