码迷,mamicode.com
首页 > 其他好文 > 详细

Welcome to Jekyll !!!

时间:2017-07-08 13:18:04      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:direct   request   ref   auto   tom   highlight   site   pos   print   

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’s dedicated Help repository.

 

Welcome to Jekyll !!!

标签:direct   request   ref   auto   tom   highlight   site   pos   print   

原文地址:http://www.cnblogs.com/frankdevhub/p/7136320.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!