Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Bought Jack McDade's course on design. Going through it now...and it is SO well done!

— Justin Jackson, Transistor.fm

Mount URL Tag

The Mount URL tag is used to return the URL to a collection's mount entry.

Overview

This tag lets you get the URL to a collection's mount entry.

<a href="{{ mount_url handle="blog" }}">Read Our Blog</a>
<a href="{{ Statamic::tag('mount_url')->handle('blog') }}">Read Our Blog</a>

Shorthand

You may also use a shorthand syntax, where the second tag argument is the collection handle.

<a href="{{ mount_url:blog }}">Read Our Blog</a>
<a href="{{ Statamic::tag('mount_url:blog') }}">Read Our Blog</a>

Parameters

handle

string
required

Specify the name of the collection.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →