# Hugo Casper-Two theme Home Page redirect Issue

**URL:** https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817
**Category:** Using Themes
**Created:** [September 16, 2019, 3:50am UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817 "2019-09-16T03:50:04Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![veeravignesh1](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@veeravignesh1](https://discourse.gohugo.io/u/veeravignesh1)
#### Post date: [September 16, 2019, 3:50am UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817/1 "2019-09-16T03:50:04Z")

</div>

Hi,  
I am trying to host my Blog on github with Hugo Casper-two theme and am able to host the same at [github pages](https://veeravignesh1.github.io) But the home page is pointing to the posts folder which requires an additional click to see posts.  
Can we change this behavior…

Hugo theme is at [Hugo Contents](https://github.com/veeravignesh1/Hugo-Contents) and the rendered website contents are at another repository

### It would be great if someone could help…

### Thanks in advance

---

<div class="post-metadata">

### Author: ![funkydan2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/funkydan2/32/5636_2.png) [@funkydan2](https://discourse.gohugo.io/u/funkydan2)
#### Post date: [September 16, 2019, 5:35am UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817/2 "2019-09-16T05:35:31Z")

</div>

I think the problem is the Casper-Two hasn’t been updated to work with Hugo 0.58 (and newer).

The problem is

> <https://github.com/eueung/hugo-casper-two/blob/b747d89e76635d9252089e93268b2209d85571db/layouts/partials/post-list.html#L1>

which no longer works. It should use `.Site.RegularPages` instead of `.Data.Pages`.

> **[Page Variables](https://gohugo.io/variables/page/#pages)**
>
> Page-level variables are defined in a content file's front matter, derived from the content's file location, or extracted from the content body itself.

I think you should [open an issue](https://github.com/eueung/hugo-casper-two/issues) for the theme developer on GitHub, or fork the theme, update it and send in a PR for consideration. The second option is probably best since it seems the theme’s developer is no longer active. Or see if [any of the forks](https://github.com/eueung/hugo-casper-two/network/members) are in current development.

---

<div class="post-metadata">

### Author: ![veeravignesh1](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@veeravignesh1](https://discourse.gohugo.io/u/veeravignesh1)
#### Post date: [September 17, 2019, 1:45am UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817/3 "2019-09-17T01:45:09Z")

</div>

@funkydan2 Thanks for the reply…  
I am a beginner in hugo… So i will try to raise an issue to fix the same…

Thanks for your time…  
CHEERS

---

<div class="post-metadata">

### Author: ![funkydan2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/funkydan2/32/5636_2.png) [@funkydan2](https://discourse.gohugo.io/u/funkydan2)
#### Post date: [September 17, 2019, 1:53am UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817/4 "2019-09-17T01:53:57Z")

</div>

If you’re a beginner with Hugo and your goal is to get a website up and running quickly, I recommend choosing a [theme](https://themes.gohugo.io) which has been updated in last month or so (or look at [this list](https://github.com/gohugoio/hugoThemes/issues/682) and **don’t** choose anything which is still in blue). There’s was a substantial change to Hugo in v 0.58.0, and many of the themes haven’t yet been updated to work with it.

---

<div class="post-metadata">

### Author: ![veeravignesh1](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@veeravignesh1](https://discourse.gohugo.io/u/veeravignesh1)
#### Post date: [September 17, 2019, 2:02am UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817/5 "2019-09-17T02:02:11Z")

</div>

> [@funkydan2](#):
>
> .Site.RegularPages

Sure…  
But the site is working fine with the downgraded version hugo (v.0.57.2)  
Can I continue to use the same untill author updates the theme…?  
Will it cause any issues?

---

<div class="post-metadata">

### Author: ![funkydan2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/funkydan2/32/5636_2.png) [@funkydan2](https://discourse.gohugo.io/u/funkydan2)
#### Post date: [September 17, 2019, 2:07am UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817/6 "2019-09-17T02:07:44Z")

</div>

Things will work fine with the earlier version of Hugo. There are, in general, risks of running old software (e.g. unpatched security holes) but you’re probably pretty safe with Hugo 0.57.x. And working with these theme may give you an opportunity to learn about Hugo templates!

---

<div class="post-metadata">

### Author: ![veeravignesh1](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@veeravignesh1](https://discourse.gohugo.io/u/veeravignesh1)
#### Post date: [September 17, 2019, 2:09am UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817/7 "2019-09-17T02:09:06Z")

</div>

> [@funkydan2](#):
>
> opportunity to learn about Hugo templates

Cool… Thanks for your time…

---

<div class="post-metadata">

### Author: ![dixonge](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dixonge/32/8756_2.png) [@dixonge](https://discourse.gohugo.io/u/dixonge)
#### Post date: [September 18, 2019, 12:44pm UTC](https://discourse.gohugo.io/t/hugo-casper-two-theme-home-page-redirect-issue/20817/8 "2019-09-18T12:44:47Z")

</div>

This theme author has generally vanished from the internet. I tracked down all social media and any other online presence awhile back. Gone. Possibly dead, hard to say. But definitely not spending any time on the internet doing anything social, at least not in the English-speaking world.

I am also replying on Github.
