<p>You can setup a <a href="https://craftcms.com/docs/routing#dynamic-routes" rel="nofollow">dynamic route</a> for <code>/handle/&lt;slug&gt;/followuppage</code> and route the requests to your follow-up page template. From that template you’d have access to a variable called <code>slug</code> that you would then use to query for your structure entry.</p>

<pre><code>{% set entry = craft.entries.section('mystructure').slug(slug).first() %}

{% if not entry %}
    {% exit 404 %}
{% endif %}
</code></pre>

CC BY-SA 3.0
2016-10-12T12:57:15.877Z
2016-10-13T05:58:17.220Z
2016-10-13T05:58:17.220Z
carlcs
<p>I want every structure entry to have a follow up page, <a href="http://thisismysite.com/handle/slug/followuppage" rel="nofollow">http://thisismysite.com/handle/slug/followuppage</a>.</p>

<p>So every slug, get a follow up page with different content but the same template. Is there a simple way of doing this?</p>

<p>Thank you in advance!</p>

CC BY-SA 3.0
2016-10-12T09:13:26.810Z
Do you mean you simply want to be able to find other content within the same section to link to? Like the siblings property of the current entry: https://craftcms.com/docs/templating/entrymodel#siblings
Stephen Hamilton
<entries><structure><slug>
Can I give every structure entry a custom layout by using the same template?
# Can I give every structure entry a custom layout by using the same template?

(Asked by: username_0 on 2016-10-12)

I want every structure entry to have a follow up page, <http://thisismysite.com/handle/slug/followuppage>.

So every slug, get a follow up page with different content but the same template. Is there a simple way of doing this?

Thank you in advance!

**Tags:** entries, structure, slug
> **Comments:**
> **username_1**: Do you mean you simply want to be able to find other content within the same section to link to? Like the siblings property of the current entry: https://craftcms.com/docs/templating/entrymodel#siblings  

---

## 1 answers

### Answer by username_2 on 2016-10-12. Score: 2

You can setup a dynamic route for /handle//followuppage and route the requests to your follow-up page template. From that template you’d have access to a variable called slug that you would then use to query for your structure entry.
{% set entry = craft.entries.section('mystructure').slug(slug).first() %}

{% if not entry %}
    {% exit 404 %}
{% endif %}


---

