Refer to https://jekyllrb.com/docs/installation/ to install Ruby, RubyGems, and other required command-line tools.
Run the following command to generate HTML pages in the _site/
directory:
bundle exec jekyll serve
For further options, see https://jekyllrb.com/docs/usage/.
bundle exec jekyll build
Text sections can be found in Markdown files under _sections/
and will be automatically generated by Jekyll, no need to modify ~/index.html
when adding new sections.
The front matter in each Markdown file follows this format:
title: <title>
order: <number>
short_name: <id for the corresponding <section> block in the generated index.html>
Images and downloads are stored in the assets/
folder.
Header, footer, navigation, and other non-body elements are stored in the _includes/
folder.