zoukankan      html  css  js  c++  java
  • jekyll 安装使用

    1. 安装
     
      条件: ruby gem 注意版本,同时建议使用国内的镜像
      
    1. gem install jekyll bundler
     
    2. 创建网站
     
    1. jekyll new my-awesome-site
     
    3.  启动
    1. cd my-awesome-site
    2. bundle exec jekyll serve
     
    4. 基本启动命令
    1. $ jekyll build
    2. #=>当前文件夹中的内容将会生成到./_site 文件夹中。
    3. $ jekyll build --destination <destination>
    4. #=>当前文件夹中的内容将会生成到目标文件夹<destination>中。
    5. $ jekyll build --source <source>--destination <destination>
    6. #=>指定源文件夹<source>中的内容将会生成到目标文件夹<destination>中。
    7. $ jekyll build --watch
    8. #=>当前文件夹中的内容将会生成到./_site 文件夹中,
    9. #查看改变,并且自动再生成。
     
    5. 参考地址
     
    1. http://jekyllrb.com/
    2. http://jekyllcn.com (中文)
     
  • 相关阅读:
    css3线性渐变
    php的%s
    面向对象
    excel导入导出
    保存Excel
    保存word
    图片预览
    验证日期输入格式
    级联菜单
    中级前端知识点提要
  • 原文地址:https://www.cnblogs.com/rongfengliang/p/6665424.html
Copyright © 2011-2022 走看看