Cannot generate properly "hexo g" just after the installtion ("hexo s" works fine) #5103
-
Hi all, I used to build the blog through hexo on Fedora, but this time, I tried to install hexo in win11 (using nvs for installing node js (v. 18.12.1)) and the latest git version. After I followed the tutorial steps to generate the file, I could not get the proper landscape themes as the official site demonstrates. In short, the blog can show appropriately with "hexo server" but cannot display properly with the "index.html" from the file "hexo g." Please let me know if I didn't do something wrong or need to provide further info for debugging this prob. Noted: no errors and just native env in config.yml. Here's the detailed process of my installation:
hexo -v |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you are double-clicking to open the
|
Beta Was this translation helpful? Give feedback.
If you are double-clicking to open the
index.html
, then the css will not load because it's using file protocol. You need to use a web server to serve these pages, for example