• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

kkninjae/book: A Jekyll Theme

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

kkninjae/book

开源软件地址:

https://github.com/kkninjae/book

开源编程语言:

CSS 60.2%

开源软件介绍:

Book

Book, a simple and ready-to-use Jekyll theme. Live.

How-to

Setup

# get a copy of book source code
$ git clone https://github.com/kkninjae/book.git

# running site locally
$ jekyll serve -w

# from now, you should be able to start development or customization

Customization

Book is designed as simple as possible, but few changes can make your site uniq. You only need to change the values of keys in _config.yml file.

  • Change site path: baseurl
  • Give your site a name: title
  • Make a site favicon: favicon
  • Make a special home button image: avatar

Last but not least

  • If you are using Google analytics: ga
  • If you are using Disqus commenting system: disqus

Writing Posts

Make a markdown file in _posts directory, follow Jekyll post naming convention to name your post, and put following front matter to the top of your post. You should be able to start to write your awesome post. Read this POST to know more tips.

---
title: Your awesome post title
date: YYYY-MM-DD
---

Deploy to Github Page

There is a deploying script built out of box. You need to install one more tool before using it which is npm. This script will push your current static site to gh-pages branch. If there is no gh-pages branch yet, the script will create it for you.

# start to deploy your site to Github pages
$ npm run deploy

End.

If you like this theme, why not give it a star. :)




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap