Giter Club home page Giter Club logo

p2anut.github.io's Introduction

CodeboyBlog

codeboy.me的网站模板

网站截图

安装方式:

  1. 安装jeykll

    gem install jekyll gem install jekyll-paginate

  2. 将CodeboyBlog复制到服务器(部署到github.io的方式自行搜索)。

  3. 运行命令生成网站即可(经常改变配置的话不建议增量更新)。

     jekyll serve --watch &
     jekyll serve --watch --incremental & //增量更新
    

为了能够更好的生成网站,我们可以写一个脚本:

#!/bin/bash

ps aux |grep jekyll |awk '{print $2}' | xargs kill -9
cd /path/to/blog
jekyll serve --watch &

ps开头的命令是关闭所有jekyll的进程

cd到网站的根目录

启动jekyll服务

需要配置的内容:

  1. 修改_config.yml中的信息(知乎等帐号,特别需要注意的是多说评论插件的id必须更换,否则您将不能查看到博客的评论)。
  2. 修改about/index.html中个人信息(如果不需要个人简介,可以在步骤3中去除对应标签)。
  3. 修改_include/nav.html,选择自己需要的导航标签(主页, 应用, 标签, 关于等)
  4. 如果博客底部的github,知乎等需要修改,请编辑_includes/footer.html中分享的信息。

更新内容:

2015-12-20

1 多说id移动至_config.xml文件中,集中配置

2015-12-09:

  1. 更新_config.yml配置,适配jekyll 3.0+版本。
  2. 更新博客中相关链接,便于博客转向https站点。
  3. 去除anchor,标题前面不再显示 #

2015-10-10:

  1. 在Clean Blog的基础上修改,同时加入黄玄在CleanBlog上添加的云标签。
  2. 加入文章搜索功能,pc上可以双击ctrl触发。
  3. 优化界面,更好的适配手机。

p2anut.github.io's People

Contributors

androiddevelop avatar p2anut avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.