squarespace collections - loop through index pages -
i'm new squarespace , unfamiliar how works, have searched , trawled through documentation , related material , cannot life of me figure out how below. apologise if structure or wording in someway not clear or appropriate, i'm new stackoverflow please bare me.
i thank in advance.
question:
i have 2 index's pages under both, each page has thumbnail. have created collection named 'locations' , wish somehow create .item file collection gather page thumbnails 2 index's can output data via summary - carousel.
in short, need method loop through each page under index , grab thumbnail , link associated each item.
desired outcome:
to able add summary - carousel outputs thumbnail images /associated links of pages under 2 predefined index's.
resources:
location.conf: { "title" : "locations collection", "ordering" : "chronological", "addtext" : "add post", "accepttypes": ["text"] }
you need see json output in order think logic loop.
usually loop index logic is
{.section collection} {.repeated section collections} // rest of json logic in here {.end} {.end} but have review page pretty-json in order code needs.
Comments
Post a Comment