Comments (7)
Hello @yingxiayin.
What are the steps you are taking to create the public folder?
from hugo-theme-sam.
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.
from hugo-theme-sam.
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.
from hugo-theme-sam.
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:
And yes, I'm using the "extended" Hugo.
from hugo-theme-sam.
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.
from hugo-theme-sam.
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.
from hugo-theme-sam.
@yingxiayin Please let me know or reopen the issue if you are still having problems after following the instructions!
from hugo-theme-sam.
Related Issues (20)
- Using gallery view as portfolio-list - how can I resize the image? HOT 3
- Legal Footer on Front Pgae HOT 2
- Unable to clear up 'Error building site: POSTCSS: failed to transform "css/main.css" ' HOT 3
- Fenced code block colour HOT 1
- h1,h2,h3 has hard coded font-family
- Some readme links point to a different repo
- Add the Table of Content HOT 3
- Blog post date not hiding HOT 3
- Custom CSS HOT 1
- Long strings/code is expanding page to the right (mobile) HOT 3
- back/home buttons multi-lingual refer HOT 2
- module? help please HOT 2
- Provide option to have local fonts HOT 2
- An error was encountered when placing a webp image into the gallery directory. HOT 2
- Different results for `hugo` and `hugo server` HOT 1
- Scaling big-link style on home page HOT 1
- config.toml settings show up locally but are not included when I publish and deploy HOT 1
- CSS fails to transform with autoprefixer v10.0.0 and higher HOT 1
- [support] use summary on twitter:card HOT 2
- config.toml - modification of links in [[params.mainMenu]] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-theme-sam.