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

Issue with 'hugo.yaml' file hindering site initialisation #154

Open
ryan-david-murphy opened this issue Jan 18, 2024 · 0 comments
Open

Issue with 'hugo.yaml' file hindering site initialisation #154

ryan-david-murphy opened this issue Jan 18, 2024 · 0 comments

Comments

@ryan-david-murphy
Copy link

ryan-david-murphy commented Jan 18, 2024

Description

I encountered an issue while setting up a new site using the Hugo Profile theme. The setup process does not work as expected unless the hugo.yaml file is deleted. I'm not sure if this is an intended step or a bug.

Steps to Reproduce

hugo new site my-site --format="yaml"
cd my-site/themes
git clone https://github.com/gurusabarish/hugo-profile.git
cd ..
cp -r themes/hugo-profile/exampleSite/* ./
hugo server

Expected Behaviour

I expected the site to initialise and run without issues after following the above steps.

Actual Behaviour

The site initialisation fails, and the Hugo server does not start correctly. After some troubleshooting, I found that deleting the hugo.yaml file resolves the issue.

Possible Solution

It might be beneficial to either fix the issue with the hugo.yaml file or update the documentation to include a step for removing this file if it's not needed.

Additional Information

  • Hugo version: 0.121.2
  • Operating System: MacOS 14.2.1

Thank you!

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

1 participant