I am Be Hai, from Melbourne, Victioria, Australia. I have only learned Jekyll in the past 3 days, but I have been a software writer in the past 20 years or so. I am very familiar with HTML, CSS etc.
The environment I am using is “Windows Subsystem for Linux” ( WSL2 ), running Ubuntu 20.4.
I went through all tutorials on Jekyll – I am very happy with what I have learned.
And I have successfully put my Jekyll generate “site” onto GitHub IO:
Also on my local machine, in WSL2 works as per instructions. That is:
when I run
bundle exec jekyll serve
Then on a Windows browser, I run:
"localhost colon( : ) 4000"
I got the same as github’s
I have this project locally in “D:\Codes\behai-nguyen_github_io”, The generated site is in “D:\Codes\behai-nguyen_github_io\_site”.
In my understanding / thinking / assumption, if I set a virtual
directory, “behai”, in Internet Information Service ( IIS ) pointings
to “D:\Codes\behai-nguyen_github_io_site”, then when I run:
it shoud work – but I have broken pages, no CSS applied.
WHAT I HAVE TRIED and STILL DOES NOT WORK:
A look into “D:\Codes\behai-nguyen_github_io\_site” shows that it does not seem to include theme files.
So I copied the following folder from WSL2 to D:\Codes\behai-nguyen_github_io\
Then, I ran:
bundle exec jekyll serve – “http localhost behai” still does not work. “localhost colon( : ) 4000” works.
jekyll build – “http localhost behai” still does not work.
After these two commands, content of “_site” still did not change.
This problem also means: if I upload the entire “D:\Codes\behai-nguyen_github_io\_site” to a hosting site, my site will not work.
Would you please kindly help me with this issue? I know it is possible, I just don’t know how to do it yet.
Thank you and best regards,
Be Hai Nguyen.