鉴于github page"令人惊叹"的部署速度,本项目已经迁移到新项目地址hugophi/blog
Link: Yunming Hu's Blog
My blog depends on no code generator. What you should to is just write markdown files in typora and export them as index.html & index_zh.html under the path. For example, you want to write an article about PCA algorithm, this is steps you should do:
In my blog, an article is organized as a project that means you should put anything needed in your blog into its folder, and all of these folders are located in $project/post/. In this example, I name it pca:
mkdir ./post/pca
cd ./post/pca After you get into project of this article, you can start writing your blog. If you want to use picture, you should put them into $project/post/pca/asset/.
After you ending editing, you should convert your index.md to index.html. I use the export function in Typora.
Then you can edit index.md under project root, refering this article in it. And convert index.md under project root to index.html.
You can create index_xx.md files for multilingual support, where xx represents your target language. For example, for Chinese: index_zh.md. Then, repeat steps 2 to 4. Additionally, you need to insert links to other language versions at the top of each index file. For instance, in the English index.md, you should insert:
中文版:[zh](./index_zh.md)and Iin the Chinese index_zh.md, you should insert:
English: [en](./index.md)Due to the structure of our organization, these lines are almost fixed. This is one of the reasons why I chose this structure—it’s somewhat similar to a B+ tree.
Home page is editing in index.html under project root. And articles are located in $project/post/. All article is named as 'index_*.html', '*' here is used to supprt multilingual versions. So you can refer all article easily. In each article folder, you can create anything of this article such as pictures, anmations and etc. without influnece the others.
This style is inspired by this website & typora theme Turing, which is in line with minimalist style. I will provide it in index.css & hugo.

