沧歌


起风了,唯有努力生存


Sample Post

head 1

head 2

normal text

some code:

#!/usr/bin/env python
def main()
    print('hi')

A Sample

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Jekyll also offers powerful support for code snippets:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.

About the theme

What’s this

Vno Jekyll is a theme for Jekyll. It is a port of my Ghost theme vno, which is originally developed from Dale Anthony’s Uno.

Usage

$ git clone https://github.com/onevcat/vno-jekyll.git your_site
$ cd your_site
$ bundler install
$ bundler exec jekyll serve

Your site with Vno Jekyll enabled should be accessible in http://127.0.0.1:4000.

For more information about Jekyll, please visit Jekyll’s site.

Configuration

All configuration could be done in _config.yml. Remember you need to restart to serve the page when after changing the config file. Everything in the config file should be self-explanatory.

Background image and avatar

You could replace the background and avatar image in assets/images folder to change them.

Sites using Vno

My blog is using Vno Jekyll as well, you could see how it works in real. There are some other sites using the same theme. You can find them below:

Site Name URL
OneV’s Den http://onevcat.com
July Tang http://blog.julytang.xyz
Harry Lee http://qiuqi.li

If you happen to be using this theme, welcome to send me a pull request to add your site link here. :)

License

Great thanks to Dale Anthony and his Uno. Vno Jekyll is based on Uno, and contains a lot of modification on page layout, animation, font and some more things I can not remember. Vno Jekyll is followed with Uno and be licensed as Creative Commons Attribution 4.0 International. See the link for more information.

最近的文章

用Jekyll搭建的Github Pages个人博客

刚开始我在CSDN上注册了一个博客,但是觉的CSDN限(bi)制(ge)太(bu)多(gao),就试着在我租的vps上建一个wordpress站点。折腾过程你可以看看我的wordpress建站教程。后来发现使用markdown写文章的时候wordpress需要使用额外的插件。由于我的机器配置不高,mysql运行够呛,我转投了jekyll的怀抱。为什么选择jekyll而不用hexo、hugo呢...…

Jekyll Github继续阅读