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 is only applicable to Jekyll.

Sitemap

A sitemap is an .xml file that contains links to all the pages within a website.
With a sitemap,
a search engine can discover the pages and subsequently create indexes for them.
Then, people browsing the internet can find those pages using keywords.

Jekyll-sitemap

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

Add LikeWidget to Jekyll theme

Update

I’ve moved my blog from Jekyll to Hugo.
The method for adding a like button remains similar,
but the code and its placement need to be adjusted.

LikeCoin

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

Content creators can embed a Like Button within their content or web pages.
Anyone with a LikeCoin account who appreciates the content can click the button,
and the content creator will receive the corresponding LikeCoin.

The amount of LikeCoin a content creator receives depends on the account type of the likers.
The LikeCoin Foundation proportionally rewards free account likers,
while payment accounts are proportionally charged based on the number of likes they click each month.
More details can be found on LikeCoin’s Medium.

Remove .DS_Store tracking in all Git repositories

Every time a new folder is created and files are added in macOS, a .DS_Store file is generated within that folder. This results in numerous .DS_Store files scattered across macOS, and it’s quite annoying to add **/.DS_Store to every .gitignore file each time a new Git repository is created. Therefore, I found a method to prevent .DS_Store files from being tracked in all Git repositories.

The git config command

The git config command can be used to set a variety of Git settings.
The most common uses are git config --global user.name and git config --global user.email,
which set user.name and user.email globally,
allowing all Git repositories to use these settings.