<p>I would say that the index.html should be within your templates folder. Is it? 
And make sure that you Homepage section is actually pointing to that template. Look at your sections part within Craft CMS.</p>

CC BY-SA 3.0
2017-06-03T21:48:20.817Z
2017-06-03T21:48:20.817Z
nickelman
<p>This is very basic as I am new to Craft CMS, but I created a Plain Text field in the Homepage section labeled "Tagline". When I enter the Twig code <code>{{ entry.tagline }}</code> into the index.html template, I get the error that the variable "entry" does not exist. </p>

<p>My index.html is at the root of the public folder.</p>

CC BY-SA 3.0
2017-06-03T18:56:40.233Z
Hi Nick and welcome to the Craft CMS Stack Exchange site! Can you update your question to add details like the URL, where your template file lives, and what the template itself looks like? It sounds like something isn't set up quite right. You can always take a look at the [Happy Lager demo site](https://github.com/pixelandtonic/HappyLager) to see an install or compare to what you've got.
Matt Stein
<templating><variable>
Variable "entry" does not exist
# Variable "entry" does not exist

(Asked by: username_0 on 2017-06-03)

This is very basic as I am new to Craft CMS, but I created a Plain Text field in the Homepage section labeled "Tagline". When I enter the Twig code `{{ entry.tagline }}` into the index.html template, I get the error that the variable "entry" does not exist.

My index.html is at the root of the public folder.

**Tags:** templating, variable

> **Comments:**
> **username_1**: Hi Nick and welcome to the Craft CMS Stack Exchange site! Can you update your question to add details like the URL, where your template file lives, and what the template itself looks like? It sounds like something isn't set up quite right. You can always take a look at the [Happy Lager demo site](https://github.com/pixelandtonic/HappyLager) to see an install or compare to what you've got.  

---

## 1 answers

### Answer by username_2 on 2017-06-03. Score: 1

I would say that the index.html should be within your templates folder. Is it?
And make sure that you Homepage section is actually pointing to that template. Look at your sections part within Craft CMS.


---

