Skip to content

Comments

List .Site.RegularPages in the home#53

Open
ferdynton wants to merge 1 commit intoenten:masterfrom
ferdynton:use_regular_pages
Open

List .Site.RegularPages in the home#53
ferdynton wants to merge 1 commit intoenten:masterfrom
ferdynton:use_regular_pages

Conversation

@ferdynton
Copy link

I'm not sure at what point the behavior of Hugo changed, but using
.Data.Pages (like the previous code was doing) only lists an item
named posts in the homepage for me.

After learning some Hugo I found about .RegularPages
https://gohugo.io/variables/site/#site-pages and I believe that's what
this theme is intending for the home page (at least that's how my site
was being rendered previously).

I'm not sure at what point the behavior of Hugo changed, but using
`.Data.Pages` (like the previous code was doing) only lists an item
named `posts` in the homepage for me.

After learning some Hugo I found about `.RegularPages`
https://gohugo.io/variables/site/#site-pages and I believe that's what
this theme is intending for the home page (at least that's how my site
was being rendered previously).
ferdynton added a commit to ferdynton/ferdynton.github.io that referenced this pull request Dec 5, 2024
The hyde-y theme is broken upstream, so I'm waiting for them to fix it
on enten/hyde-y#53. Until them, I'm using my
fork.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant