• Hexo


    文章链接:

    http://www.jianshu.com/p/1e402922ee32/
    http://www.appinn.com/markdown/index.html
    http://www.appinn.com/markdown/basic.html
    http://www.appinn.com/markdown/
    https://github.com/simonbaker/simonbaker.github.io
    http://www.zipperary.com/2013/05/28/hexo-guide-2/
    http://www.jianshu.com/p/985d07d88ef4
    http://iread.io/2015/09/hexo-guide-3/
    http://iread.io/2015/09/hexo-guide-4/
    http://iread.io/2015/09/hexo-guide-2/
    http://www.cnblogs.com/zhcncn/p/4097881.html
    https://segmentfault.com/a/1190000000370778
    http://www.jianshu.com/p/465830080ea9
    https://github.com/hexojs/hexo
    https://hexo.io/

    http://www.jianshu.com/p/6aec3347b0ea/comments/1098202

    //==========update 20160501==========// 

    hexo注意事项:

    1 同步_config.yml和md文件到github。

    在hexo g执行后,往往都会把_source目录下的文件拷贝到public目录下;然后再执行hexo d,就会把public目录下的所有文件push到github中。

    可是,多台设备的时候,就不能同步hexo的_config.yml以及写文章的源文件md文件。

    同时,想把这些文件都放到source目录下,结果在hexo g的时候,发现hexo是会过滤或转换相关文件的。

    所以,暂时的解决办法是:把_config.yml和md文件都压缩到一个文件中,然后把该文件放到source目录下。

    2 安装完hexo,想启动服务的时候,发现居然没有server指令。

    该问题,其实是hexo的server作为独立安装包了。也就是说,在hexo init后,是不会自动安装hexo的server依赖包的。

    所以,就需要单独npm一下:

    sudo npm install hexo-server --save
    

    可参考:

    http://www.zhihu.com/question/28847824?sort=created

    同理,如果在hexo deploy的时候,有问题,也可参考:

    sudo npm install hexo-deployer-git --save
    

      

     3 安装theme

    cd到theme目录下,然后执行git的clone命令:

    //如Hacker主题--https://github.com/CodeDaraW/Hacker
    git clone https://github.com/CodeDaraW/Hacker.git
    

      

  • 相关阅读:
    【转】概率主题模型简介 Introduction to Probabilistic Topic Models
    codility: Fibonacci numbers (FibFrog, Ladder)
    codility: Euclidean algorithm ( ChocolatesByNumbers, CommonPrimeDivisors)
    effective c++ 11: Handle assignment to self in operator =
    effective c++ 10: Have assignment operators return a reference to *this
    effective c++ 9: Never call virtual functions during construction or destruction
    JDBC连接数据库基础
    day14
    集合方法
    day10
  • 原文地址:https://www.cnblogs.com/simonbaker/p/5443806.html
Copyright © 2020-2023  润新知