Skip to content

ramsayleung/ramsayleung.github.io

Repository files navigation

Description

The blog is migrated from the original self-hosted blog which was interesting and delightful to build something from scratch.

There is Ramsay’s personal blog, where he shares a bit of what he has learned along the way.

Screenshot

doc/img/home_en.jpg

doc/img/home_zh1.jpg

doc/img/home_zh2.jpg

doc/img/home_about_zh.jpg

doc/img/home_post_zh.jpg

Cloning and Setup

Even though this blog is tailored to serve my own purpose, but this blog is designed to be easily cloned and adapted for your own use as well. Here are the steps to get started:

1. Clone the Repository**

git clone https://github.com/ramsayleung/ramsayleung.github.io.git
cd ramsayleung.github.io

2. Update Configuration**

The main configuration file is `config.yml`. You’ll need to update it with your personal information.

Social Media

Update the information to your own social media accordingly.

params:
  socialIcons:
      - name: github
      url: "[YOUR_GITHUB_URL]"
      - name: stackoverflow
      url: "[YOUR_STACKOVERFLOW_URL]"
      - name: x
      url: "[YOUR_TWITTER_URL]"
      - name: linkedin
      url: "[YOUR LINKEDIN URL]"
      - name: telegram
      url: "[YOUR TELEGRAM URL]"

Giscus Comments

This blog uses giscus for comments, which is based on GitHub Discussions. To set it up for your own repository, you need to update the following section in `config.yml`:

params:
  giscus:
    repo: "[YOUR_GITHUB_USERNAME]/[YOUR_REPO_NAME]"
    repoId: "[YOUR_REPO_ID]"
    category: "[YOUR_DISCUSSION_CATEGORY_NAME]"
    categoryId: "[YOUR_CATEGORY_ID]"

  socialIcons:
      - name: github
      url: "[YOUR_GITHUB_URL]"
      - name: stackoverflow
      url: "[YOUR_STACKOVERFLOW_URL]"
      - name: x
      url: "[YOUR_TWITTER_URL]"
      - name: linkedin
      url: "[YOUR LINKEDIN URL]"
      - name: telegram
      url: "[YOUR TELEGRAM URL]"

You can get the `repoId` and `categoryId` by following the instructions on the giscus website.

About

Ramsay's blog

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages