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

how do i make the nav header work #72

Open
kingofcube opened this issue Jun 12, 2024 · 3 comments
Open

how do i make the nav header work #72

kingofcube opened this issue Jun 12, 2024 · 3 comments

Comments

@kingofcube
Copy link

floorp_OmyWCHgEOY this is why i perfer base html over hugo

@vhxs
Copy link

vhxs commented Dec 28, 2024

+1 on this. I'm having the same issue, @yihui. If it helps, I do see the navbar when running hugo with the exampleSite via:

hugo server --source exampleSite --themesDir ../..

Otherwise, the navbar isn't showing up for me.

@vhxs
Copy link

vhxs commented Dec 28, 2024

Okay, I've found my mistake. If @kingofcube did what I did, then they copied the contents of hugo-xmin's example site into the top-level directory, after creating a new site with hugo new. The problem with that is that hugo new will create a hugo.toml, but exampleSite uses a hugo.yaml. I am guessing that hugo is ignoring hugo.yaml in favor of the toml file, which doesn't have any configuration about the navbar. I just deleted the hugo.toml that hugo new generates.

I don't think this is actually an issue.

@yihui
Copy link
Owner

yihui commented Dec 28, 2024

@vhxs Thanks for posting the solution!

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

3 participants