themefisher / meghna-hugo

Meghna Hugo is a responsive, minimalist, lightweight, and fast loading one-page business theme built with HTML5/CSS3, Hugo, JavaScript, and JQuery.
https://gethugothemes.com/products/meghna/?utm_source=meghna_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
441 stars 1.23k forks source link

I lost my localhost #159

Closed Oxko closed 3 years ago

Oxko commented 3 years ago

Hi Team, Could you please help me check maybe? I am struggling to find the issue why my site stopped running on local host. I have in the end deleted everything from PC and pulled my site from the repository to run it but it just doesnt load on local host. I have compared each file also with the master hugo theme files, without any luck.

The main theme does work, but when i want to run my own site what worked before, it s blank.

Could you advise what could be the issue, what to check? It started almost right after https configuration was done, then my VSC closed down due to some update and since then there is just no local host. I d think there is no connection, but still, this is what happened before it got totally blank.. :(

So much thanks!

somratpro commented 3 years ago

Hello @Oxko

I think you lost the exampleSite. I am sending you a video, it might help you https://youtu.be/dyZcRRWiuuw

Oxko commented 3 years ago

Hi @somratpro

yes i cloned the main theme, that works. i then cloned my own repository and lcoalhost doesnt work. I do have an examplesite in the folders, with all the content, just localhost doesnt work. Can you suggest where to look to troubleshoot? I have no idea what happened...

somratpro commented 3 years ago

Can you share your repository?

Oxko commented 3 years ago

@somratpro

https://github.com/Oxko/meghna-hugo.git https://github.com/Oxko/meghna-hugo

Thank you so much if you can look into it.

somratpro commented 3 years ago

Change your defaultContentLanguage = "Hu" to defaultContentLanguage = "hu", then run hugo server.

Oxko commented 3 years ago

@somratpro, I cant believe it was this simple, thanks so much! :) I sweat blood trying to figure out the issue :)