Squarespace Post Index (non-hacky version)


I got sick of my hacky solution for displaying a list of all of your Squarespace posts. So I figured out a way to do it that needs no maintenance, works without Developer mode, and is a heck of a lot easier to accomplish.

You can see a similar page in action here.

Here’s what you do:

  1. Add a code block to the page that you want your archive on. Add <div id="allarchive"></div> to your code block.

  2. Paste this script into your code block.

  3. Add in your collection ID where it says put_your_collection_id_here.

To get your collection ID, view source when you’re viewing a post from the journal you want to index. Then look near the top few lines for something that looks like collection5222a155e4b0101bf95a1689. The numerical part of that is your collection ID.

That’s it! Enjoy.