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.
GitHub Flavored Markdown is supported.
1 | def print_hi(name) |
And is supported!
Use $$
to wrap your formulas. For example, $e^{i\pi} + 1 = 0$
displays
Multi-line forumlas are supported too.
EasyBook Advanced Functions
You are using EasyBook the template from laobubu.net. Therefore some features are supported now:
- Pagination is enabled.
- Disqus or 多说 is ready.
- TOC for posts is enabled.
- Profile including your links and avatar on the sidebar.
- And more…
Tips: You can disable Disqus or 多说 on posts/pages by adding
nocomments: true
into YAML Front Matter.
EasyBook uses upaiyun CDN to make everyone lncluding Chinese visitors feel speedy. You can find it in _includes/footer.html
and change it to your favorite CDN like Google CDN.
Support me by…
Add a link
EasyBook does not make the footer heavy; the link to theme could be on about.md
:
Donate (PayPal or 支付宝)
That’s the best 😄
Please visit http://laobubu.net/donate.html
Star and Fork on GitHub (free)
Not going to donate? That’s okay. You can also send out your precious star on GitHub.
And Here We Go
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.