使用 Jekyll
rebuild the site
jekyll serve
blog post files name format
YEAR-MONTH-DAY-title.MARKUP
code snippets
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
---
layout: post
title: "Welcome to Jekyll!"
date: 2023-03-10 17:46:29 +0800
categories: jekyll update
---
{% highlight ruby %}
{% endhighlight %}
[Jekyll’s GitHub repo][jekyll-gh]
[jekyll-gh]: https://github.com/jekyll/jekyll