How can I display only certain collections on a Craft page?

How can I create a page (similar to /collections) where only some collections are displayed?

Now I’m using Craft

Thanks a Lot

  1. Create a new page or edit an existing one where you want to display the collections.
  2. In the page editor, switch to the HTML or code view (depending on your page editor).
  3. Add the following code snippet to the page editor:
{% for collection in collections %}
  {% if collection.handle == 'collection1' or collection.handle == 'collection2' %}
    ## {{ collection.title }}
    
  {% endif %}
{% endfor %}
​

I use standard editor to create page but I don’t works fine.