Introduction
In the past few days, I’ve created a blog on GitHub Pages. Initially, I considered using Tistory or Google Blogspot for my blog, but I was captivated by the strange idea of wanting to support multiple languages, which led me to GitHub Pages.
Tistory/Blogspot does have multilingual support plugins, but they are either of low quality, difficult to modify translations, or paid, which I didn’t like.
There were times during the process when I encountered errors with no information available for resolution, and I thought about just using Tistory. However, I persevered and finally succeeded by persistently consulting GPT. I proceeded in the following steps, and since I used the Chirpy theme, this might not be helpful for those using other themes.
Series Post Links
(1) Create a Repository and Check the Test Page
(4) Make the blog supports multiple languages
1. Create a Repository
The green ‘New’ button on the right side of the GitHub Repositories tab.
Select yourself as the owner and enter in the format <your_GitHub_account>.github.io (I already created mine, so the red message below shows it already exists).
Check ‘Public’ and ‘Add a README file’, then click the green ‘Create Repository’ button below.
2. Clone to Your Local Machine
n the newly created Repository, click the green <> Code button on the right to find the Https address of your Repository (also visible in the address bar). Copy this and move to the location where you want to clone in a terminal like git bash, then
git clone [copied address]
After cloning to your local machine, you will find a folder with the name of the Repository you just created. Enter this folder in the terminal and create a temporary test index file:
cd username.github.io
echo "Hello World" > index.html
3. Push ‘index.html’ and Check
git add *
git commit -m "Beginning of my git blog"
git push -u origin main
Now, if you go to https://[your account name].github.io, you can see the content written in the index.
Next, we will apply a theme.