# Content variable

**URL:** <https://talk.jekyllrb.com/t/content-variable/558>\
**Category:** Help\
**Created:** [May 20, 2017, 3:29pm UTC](https://talk.jekyllrb.com/t/content-variable/558 "2017-05-20T15:29:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![burek](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@burek](https://talk.jekyllrb.com/u/burek)\
**Post date:** [May 20, 2017, 3:29pm UTC](https://talk.jekyllrb.com/t/content-variable/558/1 "2017-05-20T15:29:34Z")

</div>

In **\_layouts/default.html** _{{ content }}_ is not working. Other includes are working.  
**index.html** = — layout: default — `<p>blablabla</p>` Thanks

---

<div class="post-metadata">

**Author:** ![burek](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@burek](https://talk.jekyllrb.com/u/burek)\
**Post date:** [May 20, 2017, 3:31pm UTC](https://talk.jekyllrb.com/t/content-variable/558/2 "2017-05-20T15:31:54Z")

</div>

content variable gives me some view about Posts …

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [May 20, 2017, 11:03pm UTC](https://talk.jekyllrb.com/t/content-variable/558/3 "2017-05-20T23:03:27Z")

</div>

not quite sure what you mean, is there a repo to look at?

---

<div class="post-metadata">

**Author:** ![burek](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@burek](https://talk.jekyllrb.com/u/burek)\
**Post date:** [May 21, 2017, 9:05am UTC](https://talk.jekyllrb.com/t/content-variable/558/4 "2017-05-21T09:05:08Z")

</div>

Yes

> **[piga/learnenoughcss](https://github.com/piga/learnenoughcss/tree/template-content)**
>
> Contribute to piga/learnenoughcss development by creating an account on GitHub.

  
Thanks

---

<div class="post-metadata">

**Author:** ![burek](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@burek](https://talk.jekyllrb.com/u/burek)\
**Post date:** [May 21, 2017, 9:06am UTC](https://talk.jekyllrb.com/t/content-variable/558/5 "2017-05-21T09:06:52Z")

</div>

I was working in Template-content branch.

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [May 21, 2017, 8:20pm UTC](https://talk.jekyllrb.com/t/content-variable/558/6 "2017-05-21T20:20:08Z")

</div>

my guess is that you have 2 index files - so one is over-writing the other- i think you need to delete the [index.md](http://index.md) file then your index.html file will show up.

---

<div class="post-metadata">

**Author:** ![burek](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@burek](https://talk.jekyllrb.com/u/burek)\
**Post date:** [May 22, 2017, 12:28pm UTC](https://talk.jekyllrb.com/t/content-variable/558/7 "2017-05-22T12:28:59Z")

</div>

It works, thanks 🙂  
But I don’t understand. I have made _/index.html_ not **jekyll** because I thought that I nedd to make it. Where should I write **layout: default**

---

<div class="post-metadata">

**Author:** ![burek](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@burek](https://talk.jekyllrb.com/u/burek)\
**Post date:** [May 22, 2017, 1:11pm UTC](https://talk.jekyllrb.com/t/content-variable/558/8 "2017-05-22T13:11:19Z")

</div>

> **[Directory Structure](https://jekyllrb.com/docs/structure/)**
>
> A basic Jekyll site usually looks something like this:

  
I found explanation.
