Reputation: 7414
I use Jekyll to build my blog, here is the code on github
when I generate the code with the command jekyll pygments
, it builds the site in the _site
directory.
when I open the _site/index.html page in a browser, the css/js links are broken because they looks like the following
/css/style.css
to make it works the links should not begin with the /
what should I do to test the site on my local machine with working links to css/js?
Thanks
Upvotes: 1
Views: 554
Reputation: 7414
ok i found the solution:
Running Jekyll with its standalone server
jekyll --auto --server
and then access in the browser at
http://localhost:4000
Upvotes: 2