What does mounting a collection to a page actually do?

Hello all, I'm new to Statamic, coming from a lot of Wordpress work and so far so good - but I'm having trouble understanding why we need to mount collections on to pages.

For example, I have a page called Favourite Names, which uses a template names.html.

That loops through entries like so:

        {{ collection:names }}
          <h3>{{ title }}</h3>
     <div>{{ content }}</div>
         <a href="{{ url }}">More</a>
        {{ /collection:names }}

... which seems to work fine.

If I mount or unmount the Names collection to this page - it makes no difference to the way the page works.

When playing with the default Redwood theme - if I mount or unmount the Blog collection from the page, it makes no difference either.

I initially thought it was to make a regular page behave like an archive.php file would in WP. The Statamic docs seem to imply mounting is to do with URL structure...

... but I'm struggling to understand what mounting is actually doing.

Any advice on this (what seems to be a core function of Statamic) would be much appreciated.

Many thanks!

Answered by Erin Dalzell!
>>>>>>> Answered <<<<<<<
5 Replies