<p>It looks like their <a href="https://github.com/duezerouno/0-201/blob/master/templates/_head.twig" rel="nofollow noreferrer">"_head"</a> template is missing the closing <code>{% endblock %}</code> at the end.</p>

CC BY-SA 3.0
2017-08-16T19:36:45.777Z
2017-08-16T19:36:45.777Z
Brad Bell
<p>you need to close the block, easy mistake</p>

CC BY-SA 4.0
2017-08-16T19:34:42.607Z
2018-05-31T17:00:33.670Z
2018-05-31T17:00:33.670Z
Clark Nelson
<p>Good afternoon,</p>

<p>I'm new in Craft so I installed this step-by-step and I tried to install this theme: <a href="https://github.com/duezerouno/0-201" rel="nofollow noreferrer">https://github.com/duezerouno/0-201</a></p>

<p>After I did everything, I can see a template error on my site that shows the next: <em>Unexpected token "end of template" of value "" ("end of statement block" expected).</em></p>

<p>Looks like the error is on the <strong>_head.twig</strong> file and says that:</p>

<pre><code>&lt;head&gt;
{% block head %}
&lt;meta charset="utf-8"&gt;
&lt;meta http-equiv="x-ua-compatible" content="ie=edge"&gt;
&lt;title&gt;{% if title is defined %}{{ title }} - {% endif %}{{ siteName }}     &lt;/title&gt;
&lt;meta name="description" content=""&gt;
&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;

&lt;link rel="apple-touch-icon" href="apple-touch-icon.png"&gt;
&lt;link rel="home" href="{{ siteUrl }}"&gt;
&lt;link rel="icon" href="images/favicon.png"&gt;

&lt;link rel="stylesheet" href="/styles/app.css"&gt;
</code></pre>

<p>Anyone can help me with this? </p>

<p>Thanks in advance.</p>

<templating><javascript>
Unexpected token "end of template" of value "" ("end of statement block" expected)
# Unexpected token "end of template" of value "" ("end of statement block" expected)

(Asked by: username_0 on 2017-08-16)

Good afternoon,
I'm new in Craft so I installed this step-by-step and I tried to install this theme: https://github.com/duezerouno/0-201
After I did everything, I can see a template error on my site that shows the next: Unexpected token "end of template" of value "" ("end of statement block" expected).
Looks like the error is on the _head.twig file and says that:

{% block head %}


{% if title is defined %}{{ title }} - {% endif %}{{ siteName }}     









Anyone can help me with this? 
Thanks in advance.

**Tags:** templating, javascript

---

## 2 answers

### Answer by username_1 on 2017-08-16. Score: 2

It looks like their ["\_head"](https://github.com/duezerouno/0-201/blob/master/templates/_head.twig) template is missing the closing `{% endblock %}` at the end.


---

### Answer by username_2 on 2017-08-16. Score: 0

you need to close the block, easy mistake


---

