Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My home page using hyde-hyde is blank #141

Closed
Tetizera-zz opened this issue Sep 12, 2021 · 2 comments
Closed

My home page using hyde-hyde is blank #141

Tetizera-zz opened this issue Sep 12, 2021 · 2 comments

Comments

@Tetizera-zz
Copy link

Here's my config.toml:

baseURL = "https://www.tetizeraz.com.br/"
languageCode = "pt-br"
title = "Tet's Blog"
themesDir = "themes"
theme = "hyde-hyde"
author = "Tet"

[[menu.main]]
identifier = "posts"
name       = "Posts"
url        = "/posts/"
weight     = 10

[[menu.main]]
identifier = "Sobre/About"
name       = "Sobre/About"
url        = "/about/"
weight     = 30

[[menu.main]]
identifier = "Licença/License"
name       = "Licença/License"
url        = "/licença/"
weight     = 40

[params]
    themeColor = "theme-base-08"
    description = "Jovem de 24 anos tentando ser jornalista. @Tetizera no Twitter"
    mainSections = [ "posts" ]

I tried to test it locally and it didn't work, the page only lists the menus and my changes to index.html (I changed it to show a different copyright license). I was using the hyde theme so far and it was working just fine.

@TrollDecker
Copy link

Did you set the type attribute in each post's front matter as post as well (this might also require mainSections to be changed to "post" as well)?

I've had an almighty faff trying to figure this out myself and that ended up being the solution for me.

@Tetizera-zz
Copy link
Author

I figured out. I'm using Windows 10, right. On chocolatey there's hugo and hugo-extended, the latter allows native scss/sass compilation, which was the problem of my original hugo executable.

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

No branches or pull requests

2 participants