If measured by total lines of “code” (LOC), one would argue the simplest webpage is the “Hello World” illustrated on GitHub Pages landing page: a index.html file containing only the string “Hello World”.

I prefer valid HTML and some CSS, therefore find below how I bootstrapped a Jekyll powered website with two files and four lines of text:

  1. Create a YAML file named _config.yml with:
     title: Some title
     description: Some description
     theme: minima
    

    (replace “title” and “description” values as you like.)

  2. Create a Markdown file named index.md with:
     Welcome to my site!
    

This will be the result once you push both files to a properly named repository and make sure the “Minima” Jekyll theme is enabled:

Screenshot from result on GitHub Pages

Enjoy!