Home First Blog
Post
Cancel

First Blog

This is my first blog, build by Jekyll and github Pages. Theme is Chirpy Jekyll Theme. I will restart blogging life.

Install Steps

  1. Install refer to: https://chirpy.cotes.page/posts/getting-started/

  2. Writing a blog refer to: https://chirpy.cotes.page/posts/write-a-new-post/

  3. 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

  1. This is first item
  2. This is second item
  3. This is third item

Todo List

  • Todo 1
  • Todo 2
  • Todo 3
  • Todo 4
This post is licensed under CC BY 4.0 by the author.
Recently Updated
Trending Tags
Contents

-

-

Trending Tags