<p>You will need to add a template called test.html that extends the "_layout.html" template. The layout template is just a wrapper template, and with the "_" in front of it, it will always be invisible to a browser.</p>

<p>Take a look at the twig references on extending templates. Also look at the templates supplied with the initial install to get a better idea how this works.</p>

<p><a href="http://twig.sensiolabs.org/doc/tags/extends.html" rel="nofollow">Twig Extend</a></p>

<p>Routes are for more refined routing of templates and you should not need a route for current implementation.</p>

<p>Imagine if "_layout.html" were named "_wrapper.html" and it makes a little more sense.</p>

CC BY-SA 3.0
2016-09-14T20:53:12.083Z
2016-09-14T20:53:12.083Z
AbbeyDesign
<p>I created a new Single section and named it "test", added some content and tried to view it on <code>domain.com/test</code>. Unfortunately I get my default server 404 and not the new single section.</p>

<p>I tried to add a new route using <code>"test" =&gt; "_layout"</code> but can't see any change.</p>

<p>Do you have any idea why this isn't working?</p>

<p><strong>EDIT:</strong></p>

<p>Here the both screenshots.</p>

<p><a href="https://i.sstatic.net/RtgBB.jpg" rel="nofollow noreferrer">https://i.sstatic.net/RtgBB.jpg</a></p>

<p><a href="https://i.sstatic.net/JomkJ.jpg" rel="nofollow noreferrer">https://i.sstatic.net/JomkJ.jpg</a></p>

<p>I hope that helps.</p>

CC BY-SA 3.0
2016-09-14T14:55:49.057Z
Could you share screenshots of your section settings and entry type settings for your "test" single section?
Katie Fritz
<routes><sections><singles>
Can't open new single section
# Can't open new single section

(Asked by: username_0 on 2016-09-14)

I created a new Single section and named it "test", added some content and tried to view it on `domain.com/test`. Unfortunately I get my default server 404 and not the new single section.

I tried to add a new route using `"test" => "_layout"` but can't see any change.

Do you have any idea why this isn't working?

**EDIT:**

Here the both screenshots.

<https://i.sstatic.net/RtgBB.jpg>

<https://i.sstatic.net/JomkJ.jpg>

I hope that helps.

**Tags:** routes, sections, singles
> **Comments:**
> **username_1**: Could you share screenshots of your section settings and entry type settings for your "test" single section?  

---

## 1 answers

### Answer by username_2 on 2016-09-14. Score: 1

You will need to add a template called test.html that extends the "\_layout.html" template. The layout template is just a wrapper template, and with the "\_" in front of it, it will always be invisible to a browser.

Take a look at the twig references on extending templates. Also look at the templates supplied with the initial install to get a better idea how this works.

[Twig Extend](http://twig.sensiolabs.org/doc/tags/extends.html)

Routes are for more refined routing of templates and you should not need a route for current implementation.

Imagine if "\_layout.html" were named "\_wrapper.html" and it makes a little more sense.


---

