How to create a blog with GitLab Pages

TL;DR AI
2 min readKey summary
GitLab Pages can be used to build and host a blog.
The tutorial deploys the site using GitLab CI and Jekyll.
Prerequisite: have a project hosted on GitLab.
Create a homepage (index.html) and an article (articles/my-first-article.html); example HTML includes Liquid expressions and Front Matter.
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.
