gurusabarish / hugo-profile

A highly customizable and mobile first Hugo template for personal portfolio and blog.
https://hugo-profile.netlify.app
MIT License
774 stars 442 forks source link

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

Open ryan-david-murphy opened 10 months ago

ryan-david-murphy commented 10 months ago

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

Thank you!

hrokr commented 3 months ago

I can't reproduce your issue.