Hi there, I am encountering problems to display properly the website with the theme ive clone on github. (some pics are cutted off, the style is missing etc…)
Im using this theme, and this is what I have tried so far:
- create a new repos in my terminal
- typing “hugo new myWebsite” command in the repos folder
- cloning the theme in my theme folder
- adding the theme name in config.toml file
Do you guys have an idea about what I should do next or if I missed a step ?
This is my localhost:1313
This is what I am supposed to have:
https://master-template-one-click-hugo-cms.netlify.app/
Any help would be much appreciated!
Open your browser’s dev tools and examine the 404 errors.
thank you, I got indeed the following 404 errors.
it seems that the browser hasnt access to the file app.js but the file is there.
Share your code. See:
https://discourse.gohugo.io/t/requesting-help/9132
Let us see your code
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone
on your repo, then run hugo server
in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
This has been discussed before:
2nd hit in a google search with the error message
sorry for the late reply and thanks for your answers, I finally took another theme and followed these steps
- hugo new site myWebsite
- cd themes
- git clone theme
- copied all the content of “ExempleSite” and replaced in root folder of the repos
- runned hugo server and it worked !