This is my first blog, build by Jekyll and github Pages. Theme is Chirpy Jekyll Theme
. I will restart blogging life.
Install Steps
Install refer to: https://chirpy.cotes.page/posts/getting-started/
Writing a blog refer to: https://chirpy.cotes.page/posts/write-a-new-post/
Want to know more about Jekyll can refer to: https://jekyllrb.com/docs/posts/
Trouble shooting
★★★1. You will get following errors when execute bash tools/init
in windows.
1
'NODE_ENV' is not recognized as an internal or external command,
The Way to fix it is change build command in package.json
1
"build": "set NODE_ENV=production & npx rollup -c --bundleConfigAsCjs",
Then run npm i && npm run build
to generate contents in the dir assets/js/dist
★★★ 2. If you get following content when access index page after push:
1
2
--- layout: home # Index page ---
It may be performing github actions, you should wait a minute. And service worker still can cache data, you can get latest page by using Incognito Browsing
Demo
Code block
1
2
3
4
5
6
7
8
9
10
11
12
var workspaceNo = "2";
string[] froms =
{
@$"C:\git\Data.dll",
@$"C:\git\.config"
};
foreach(var from in froms)
{
copyDll(from);
}
Sorted List
- This is first item
- This is second item
- This is third item
Todo List
- Todo 1
- Todo 2
- Todo 3
- Todo 4