# Index.md error

**URL:** <https://discourse.gohugo.io/t/index-md-error/1997>\
**Category:** support\
**Created:** [November 2, 2015, 7:56pm UTC](https://discourse.gohugo.io/t/index-md-error/1997 "2015-11-02T19:56:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nichlas](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nichlas/32/844_2.png) [@Nichlas](https://discourse.gohugo.io/u/Nichlas)\
**Post date:** [November 2, 2015, 7:56pm UTC](https://discourse.gohugo.io/t/index-md-error/1997/1 "2015-11-02T19:56:19Z")

</div>

I’ve tried using the solution that **[mbertschler](https://github.com/mbertschler)** suggests in [Issue 330](https://github.com/spf13/hugo/issues/330). This would allow me to use a markdown file as index.

But when i try rendering my site(`hugo`), it get this error:

```
ERROR: 2015/11/02 Error while rendering homepage: html/template:index.html:5: no such template "partials/footer.html" 

```

And `hugo check` gives me this:

```
index.md (renderer: markdown) (layout: index/single.html, exists: false) (layout: _default/single.html, exists: true) (layout: theme/index/single.html, exists: false) (layout: theme/_default/single.html, exists: false)
canonical => !no target specified!

```

Did i miss anything? Or do i create the single.html file in the theme’s directory?

---

<div class="post-metadata">

**Author:** ![rhewitt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rhewitt/32/332_2.png) [@rhewitt](https://discourse.gohugo.io/u/rhewitt)\
**Post date:** [November 2, 2015, 8:48pm UTC](https://discourse.gohugo.io/t/index-md-error/1997/2 "2015-11-02T20:48:06Z")

</div>

Do you have a footer partial in `partials/footer.html`? It sounds like it’s looking for one and can’t find it.

---

<div class="post-metadata">

**Author:** ![Nichlas](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/nichlas/32/844_2.png) [@Nichlas](https://discourse.gohugo.io/u/Nichlas)\
**Post date:** [November 3, 2015, 7:23am UTC](https://discourse.gohugo.io/t/index-md-error/1997/3 "2015-11-03T07:23:23Z")

</div>

It exist in the theme directory. I’m not sure where this message wants it to be?

---

<div class="post-metadata">

**Author:** ![rhewitt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rhewitt/32/332_2.png) [@rhewitt](https://discourse.gohugo.io/u/rhewitt)\
**Post date:** [November 3, 2015, 12:59pm UTC](https://discourse.gohugo.io/t/index-md-error/1997/4 "2015-11-03T12:59:27Z")

</div>

Strange. Have you tried copying that partial into `layouts/partials/footer.html` rather than `themes/themename/layouts/partials/footer.html` as a workaround?

---

<div class="post-metadata">

**Author:** ![Rasterisk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rasterisk/32/6064_2.png) [@Rasterisk](https://discourse.gohugo.io/u/Rasterisk)\
**Post date:** [November 25, 2015, 7:31am UTC](https://discourse.gohugo.io/t/index-md-error/1997/5 "2015-11-25T07:31:07Z")

</div>

I have a feeling that my problem here might be similar in nature.  
I also went down the [index.md](http://index.md) path:

[https://discuss.gohugo.io/t/seking-help-with-first-hugo-site-error-2015-11-25-error-while-rendering-homepage-template-theme-index-html/2147](https://discuss.gohugo.io/t/seking-help-with-first-hugo-site-error-2015-11-25-error-while-rendering-homepage-template-theme-index-html/2147)
