hexo - github blog安装主题时不成功
给我你的怀抱
给我你的怀抱 2017-05-02 09:20:03
0
2
849

如图,怎么解决??

The submodule 'blog/themes/alex' was not properly initialized with '.gitmodules' file.

给我你的怀抱
给我你的怀抱

reply all(2)
世界只因有你

My solution:

  1. Create a repository in the format of username.github.io
  2. Select automatic page generator in the warehouse settings
    Through this, git blog page settings will be automated
    Then it can start running, but currently it is just a single-page blog
  3. Install hexo. Choose your favorite theme to install
    Refer to how to build an independent blog - concise Github Pages and Hexo tutorial
  4. Related blog configuration refer to the configuration and use of hexo blog
刘奇

The answer is obvious. The submodule alex cannot be initialized. There is probably an error, please look at the log! ! !

The solution is given in the article link attached below:

We strongly recommend running Jekyll locally so you can easily debug and fix build errors before pushing to GitHub.

Before publishing to github, it is best to run it locally and preview it in the browser (see the jekyll or hexo documentation for specific commands),
If there is a problem, it will be displayed in the Console or Terminal.

Be sure to pay attention to look at the output Warning or Error~

Hope this helps you, thank you!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template