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

Something wrong with Public #56

Closed
yingxiayin opened this issue Aug 28, 2019 · 7 comments
Closed

Something wrong with Public #56

yingxiayin opened this issue Aug 28, 2019 · 7 comments
Labels

Comments

@yingxiayin
Copy link

@yingxiayin yingxiayin commented Aug 28, 2019

when i create public folder, the home page HTML do not have css.

@victoriadrake

This comment has been minimized.

Copy link
Owner

@victoriadrake victoriadrake commented Aug 29, 2019

Hello @yingxiayin.

What are the steps you are taking to create the public folder?

@pubertygirl

This comment has been minimized.

Copy link

@pubertygirl pubertygirl commented Jan 12, 2020

Hello @yingxiayin.

What are the steps you are taking to create the public folder?

Hello @victoriadrake
I think I have the same issues.
I used cmd to run hugo, after this I got the Public folder. And then, I tried to deploy that Public folder to Github Pages but the result was empty. I got nothing.
Here is my Public folder: https://github.com/pubertygirl/mynh.git
Here is my Github Pages: https://pubertygirl.github.io/mynh/
Please help me fix this problem.

Thank you so much.

@victoriadrake

This comment has been minimized.

Copy link
Owner

@victoriadrake victoriadrake commented Jan 12, 2020

Hello @pubertygirl,

The site is not empty, but it is missing CSS and some pages.

Please follow the instructions and configure your config.toml file. I can see that your website still has baseurl as https://example.com/. It should be your GitHub Pages URL.

Please make sure you are using "extended" Hugo as well. You can get it from the releases page.

@pubertygirl

This comment has been minimized.

Copy link

@pubertygirl pubertygirl commented Jan 12, 2020

Thank you for your answer @victoriadrake,

I changed the baseurl to my page Github Pages URL and after that I can't create the Public file. CMD told me something about the PostCSS:
2020-01-13 04_55_03-C__Windows_System32_cmd exe

And yes, I'm using the "extended" Hugo.

@victoriadrake

This comment has been minimized.

Copy link
Owner

@victoriadrake victoriadrake commented Jan 13, 2020

Please read the output carefully; it says that PostCSS was not found, and gives you instructions on how to install it. PostCSS is necessary for extended Hugo to compile the CSS files. I’ve updated the README with more precise instructions.

If you don’t have npm installed, you will need that first. You can find instructions here.

@lz01

This comment has been minimized.

Copy link

@lz01 lz01 commented Jan 18, 2020

I am new to npm and didn't realize you needed to do an npm init before the npm install. It may be worth adding it to the instructions for others who are also new to this.

@victoriadrake

This comment has been minimized.

Copy link
Owner

@victoriadrake victoriadrake commented Jan 19, 2020

@yingxiayin Please let me know or reopen the issue if you are still having problems after following the instructions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.