Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-12T12:57:15.877Z
Answers.LastActivityDate: 2016-10-13T05:58:17.220Z
Answers.LastEditDate: 2016-10-13T05:58:17.220Z
Answers.UserDisplayName: carlcs
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-12T09:13:26.810Z
Comments.Text: 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
Comments.UserDisplayName: Stephen Hamilton
Tags: <entries><structure><slug>
Title: Can I give every structure entry a custom layout by using the same template?
ThreadText: # 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](https://craftcms.com/docs/routing#dynamic-routes) for `/handle/<slug>/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 %}
  
  ```
  
  
  ---
  
  