This is a responsive Jekyll theme, and it's mobile-friendly. If you enjoy it, just star this repo.
Theme features include but are not limited to:
- Editing, creating and publishing articles online
- Using GitHub Flavored Markdown (GFM)
- Formula rendering supported by MathJax
- Flowchart rendering supported by Mermaid
- By default, keep the iframe aspect ratio at 16:9 to better embed iframes like YouTube, Bilibili, etc
- Comments supported by Gitalk
- Using native JavaScript syntax impletments search functionality
You can just operate it directly on GitHub, or edit it locally and push it back to your own remote repository.
- Fork the repo
- Rename forked repository as
username.github.io
; create themaster
branch and set it as the default branch - Modify the corresponding configuration of the theme in the
_config.yml
file - Visit
https://username.github.io
via browser, see the website online
- Installing Jekyll locally
- Clone a copy of your fork on your local
- Enter the root directory and run
jekyll serve
- Visit
http://localhost:4000
via browser to preview the website locally
Theme styles can be changed by modifying CSS variables in the _sass/_variables.scss
file, including but not limited to:
- Use
--font
to change the font - Use
--body-bg
to change the background color of the website - Use
--heading-color
to change the color of the heading - Use
--link-color
to change the color of the hyperlink