Jump to content

JSON-T help

Recommended Posts

Hi, 

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}, 
{.end}

 

Thank you!!!

Edited by Talin5622
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,
If you haven't received an answer yet, you can post on some FB groups
+ Squarespace Customization Resource Groups
+ Squarespace Community
+ Squarespace Entrepreneur
+ Squarespace Rockstars

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.