Switch language한국어
Back to the list

How to create a blog with GitLab Pages

TL;DR AI

Key summary

2 min read
  1. GitLab Pages can be used to build and host a blog.

  2. The tutorial deploys the site using GitLab CI and Jekyll.

  3. Prerequisite: have a project hosted on GitLab.

  4. Create a homepage (index.html) and an article (articles/my-first-article.html); example HTML includes Liquid expressions and Front Matter.

  5. Set baseurl in _config.yml to /<name_of_your_gitlab_project>, test locally with Jekyll; Ubuntu 24.04 and rbenv/dependency install commands are shown.

Read the original