# Site suddenly cannot render anything and page not found

**URL:** https://discourse.gohugo.io/t/site-suddenly-cannot-render-anything-and-page-not-found/34476
**Category:** support
**Created:** [August 28, 2021, 7:57am UTC](https://discourse.gohugo.io/t/site-suddenly-cannot-render-anything-and-page-not-found/34476 "2021-08-28T07:57:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![yuanyi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/yuanyi/32/15090_2.png) [@yuanyi](https://discourse.gohugo.io/u/yuanyi)
#### Post date: [August 28, 2021, 7:57am UTC](https://discourse.gohugo.io/t/site-suddenly-cannot-render-anything-and-page-not-found/34476/1 "2021-08-28T07:57:04Z")

</div>

My site has been created for a month and I’ve never had this problem before. I changed and some markdown files and menu name in the config.toml today, and the secondary page suddenly have nothing rendered. For list page there is just a blank page and the console shows nothing, but an issue “Page layout may be unexpected due to Quirks Mode”. I checked the HTML file in public folder and the tag exists. For single page there is a 404 page, the console show “GET localhost:1313/about/ 404 (Not Found)” also checked it does exist. If I just type the url like “localhost:1313/posts/xxx/” in the address bar, it will be a 404 page. The index page is fine though.

When I use command `hugo` or `hugo -t -theme_name`, it seems nothing wrong, the site is built, the number of pages is correct. And I also tried `hugo server --disableFastRender` and `hugo server -D`, both are no use, the browser still shows nothing in second directory page. And I’ve trid a different browser, tried upgrading hugo ( I used 0.85.0 version when I built this site), even tried `git reset --hard` to the last commit, the problem is still there.

I use GitHub page to host this site. After I push this problematic code into GitHub repository, the result is more interesting. At first the index page is the version I just modified, but once you clicked on the button which linked to the secondary page, it suddenly change into the former version. I’m so so confused! Please any ideas?

repo: [https://github.com/yuanyi-au/yuanyi-au.github.io](https://github.com/yuanyi-au/yuanyi-au.github.io)

---

<div class="post-metadata">

### Author: ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)
#### Post date: [August 28, 2021, 6:58pm UTC](https://discourse.gohugo.io/t/site-suddenly-cannot-render-anything-and-page-not-found/34476/2 "2021-08-28T18:58:45Z")

</div>

This is the change the broke your site:

[https://github.com/yuanyi-au/blog/blame/master/yuanyiblog/config.toml#L3](https://github.com/yuanyi-au/blog/blame/master/yuanyiblog/config.toml#L3)

---

<div class="post-metadata">

### Author: ![yuanyi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/yuanyi/32/15090_2.png) [@yuanyi](https://discourse.gohugo.io/u/yuanyi)
#### Post date: [August 29, 2021, 7:04am UTC](https://discourse.gohugo.io/t/site-suddenly-cannot-render-anything-and-page-not-found/34476/3 "2021-08-29T07:04:39Z")

</div>

Thank you so much!!! it works now.

---

<div class="post-metadata">

### Author: ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)
#### Post date: [August 31, 2021, 7:04am UTC](https://discourse.gohugo.io/t/site-suddenly-cannot-render-anything-and-page-not-found/34476/4 "2021-08-31T07:04:48Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
