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.

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

And \(\mathcal{ Mathematics }\) is supported!

Use $$ to wrap your formulas. For example, $$ e^{i\pi} + 1 = 0 $$ displays \(e^{i\pi} + 1 = 0\)

Multi-line forumlas are supported too.

\[\begin{aligned} & J(w, b) = \frac{1}{m} \sum_{i=1}^{m}L(\hat{y}^{(i)}, y^{(i)}) + \frac{\lambda}{2m} \sum_{l=1}^{L}{||w||}^2_F\\\\ & {||w||}^2_F = \sum_{i = 1}^{n[l]}\sum_{j = 1}^{n[l-1]}(w_{ij})^2 \end{aligned}\]

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…

EasyBook does not make the footer heavy; the link to theme could be on about.md:

This website is using laobubu’s theme: EasyBook

That’s the best :smile:

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.