How to use this website
What’s new in this theme?
Compared with orignal even, my theme added new functions as follows:
- Dark/Light mode.
- Solve Mathjax bug (quite important for latex users).
- Add “print the page as pdf” option (just right click and select “print…” to have a try).
- Upgrade fancybox gallery to 5.0 for the aim of dark mode compatibility.
- Some other tiny changes such as excluding some posts from archives…
I don’t make a pull request to the original even since the owner seems to be disappeared. And my codes are a little messy that I do not have time to distinguish them into several independent commits.
Usage
-
First, clone my repsoitory.
1
git clone https://github.com/rzy0901/rzy0901.github.io.git
-
Use my built
hugo
with goldmark support, which could solve the mathjax bug driven by backslash\
in your markdown document: -
If you are using github page to deploy, you can try my github action template build.yml (You might need to set up a personal token using
Secrets and variables
in your repository settings): -
Run
hugo server
and preview your website at localhost:1313. -
Edit personal informations in
config.toml
and/themes/even/layouts/_default/baseof.html
. -
Create a new post, which will generate default flags defined in default.md:
1
hugo new post/test.md
-
I have set the relative filepath just match the local makrdown editor typora by above default.md, so just enjoy typing!
-
Screenshot 1 (image post):
-
Screenshot 2 (equation post):
-