https://www.gravatar.com/avatar/206912d6900c65386f24516df605c206?s=240&d=mp

Kourtney's Space

Github Pages and Jekyll - sitemap

Update

I’ve moved from Jekyll to Hugo.
This method only fits Jekyll.

Sitemap

A sitemap is a .xml file that contains the links to all the pages inside a website.
With a sitemap,
a search engine knows the pages and can therefore create indexes for them.
Then, people surfing the internet can find those pages with keywords after that.

Jekyll-sitemap

There is a plugin called jekyll-stiemap for Jekyll,
which generates a sitemap automatically whenever the website is re-building.

Add LikeWidget to Jekyll theme

Update

I’ve moved my blog from Jekyll to Hugo.
The way to add like button stays the same,
but the code and where to place the code have to change.

LikeCoin

I came across LikeCoin and it piqued my interest.
LikeCoin is a cryptocurrency,
which is invented to encourage content creators.

The content creator can embed a Like Button within the content/web page,
so anyone with a like account who appreciates the content can click the button,
and the content creator will receive the corresponding LikeCoin.

The amount of LikeCoin the content creator will receive depends on the account type of the likers.
The LikeCoin Foundation will pay in proportion for the free account likers,
and payment accounts will pay in proportion for how many likes they click at the month.
The detail can be found at LikeCoin’s Medium.

Remove .DS_Store tracking in all Git repositories

Every time we create a new folder and add some files in MacOS,
it generates a .DS_Store file in that folder,
which causes lots of .DS_Store files spreading all over the places in MacOS,
and it is pretty annoying to add **/.DS_Store into every .gitignore file every time we create a new Git repository,
so I find a way to prevent the .DS_Store file from being tracked in every Git repository.

The git config command

The git config command can be used to set a variety of settings for git.
The most famous ones are git config --global user.name and git config --global user.email,
which sets user.name and user.email globally,
so every git repositories can use these settings.