# Index.html doesn't seem to be updating

**URL:** <https://discourse.gohugo.io/t/index-html-doesnt-seem-to-be-updating/15777>\
**Category:** support\
**Created:** [December 12, 2018, 1:35am UTC](https://discourse.gohugo.io/t/index-html-doesnt-seem-to-be-updating/15777 "2018-12-12T01:35:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbreit](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@kbreit](https://discourse.gohugo.io/u/kbreit)\
**Post date:** [December 12, 2018, 1:35am UTC](https://discourse.gohugo.io/t/index-html-doesnt-seem-to-be-updating/15777/1 "2018-12-12T01:35:23Z")

</div>

I am getting familiar with Hugo and trying to write a Lambda function to execute Hugo. That’s going okay, but I’m caught up with some problems with Hugo itself. When I run Hugo locally to better understand it, I’m noticing the index.html page doesn’t necessarily refresh when I add posts. Here are the steps I’m taking.

1. Generate site
2. Create new post using `hugo new hugo-on-lambda` command
3. Change `draft: true` to `false` in new post
4. Generate content using `hugo` command
5. View `public/index.html` file  
The index.html file doesn’t seem to change much or at all after this process. What can I look into?

---

<div class="post-metadata">

**Author:** ![zwbetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/zwbetz/32/16088_2.png) [@zwbetz](https://discourse.gohugo.io/u/zwbetz)\
**Post date:** [December 12, 2018, 2:07am UTC](https://discourse.gohugo.io/t/index-html-doesnt-seem-to-be-updating/15777/2 "2018-12-12T02:07:13Z")

</div>

Share your site code. We need to see your templates to see what’s going on

---

<div class="post-metadata">

**Author:** ![kbreit](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@kbreit](https://discourse.gohugo.io/u/kbreit)\
**Post date:** [December 12, 2018, 2:34am UTC](https://discourse.gohugo.io/t/index-html-doesnt-seem-to-be-updating/15777/3 "2018-12-12T02:34:10Z")

</div>

Thank you for the fast response. Here’s a repository I setup with the code, both public and “backend”.

> **[kbreit/hugo-debug](https://github.com/kbreit/hugo-debug)**
>
> Contribute to kbreit/hugo-debug development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![zwbetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/zwbetz/32/16088_2.png) [@zwbetz](https://discourse.gohugo.io/u/zwbetz)\
**Post date:** [December 12, 2018, 2:41am UTC](https://discourse.gohugo.io/t/index-html-doesnt-seem-to-be-updating/15777/4 "2018-12-12T02:41:00Z")

</div>

Your content has no file extension. Add a `.md` to each post

> [@kbreit](#):
>
> Create new post using `hugo new hugo-on-lambda` command

FYI you can add the extension when you create a new post, e.g.

```
hugo new posts/some-post.md

```
