Tools

Starting a blog on a static site

3 min read

Abstract shapes in teal and tangerine

A static site is a set of plain files: HTML, CSS, and some images. It is fast, cheap to host, and hard to break. Starting a blog on one takes a few steps, and most of the work is choosing simple tools and writing clear posts. This guide shows a simple way to begin.

Choose a generator

A static site generator turns your text files into web pages. Pick one that you are comfortable with. Look for clear documentation, a small starter theme, and an active community. Avoid tools that need a database or a long setup before you can write a single post.

Install the tool on your computer, then create a new folder for the site. Keep the folder in a place you back up regularly.

Write posts as plain files

Each post is a Markdown file with a short header at the top. The header holds the title, the date, and a short summary. The body holds the text. Save the file in the posts folder, and the generator does the rest.

Keep the header simple:

  1. A title in quotes.
  2. A date in the format year, month, day.
  3. A short summary of one or two sentences.

Keep the template small

Your page template should be short. A basic page needs a head section, a main area for the text, and a footer. Start with a single file that works, then add parts only when you need them. The example below is a plain page you can use as a starting point.

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>First post</title>
</head>
<body>
  <h1>First post</h1>
  <p>Hello from a static page.</p>
</body>
</html>

Add a viewport line to the head before you publish, so phones show the page at the right size.

Pick a simple host

Many hosts can serve static files for free or for a small monthly fee. Look for one that supports custom domains, gives you a clear way to upload files, and offers a secure connection by default. Read the host’s guide before you commit. It will tell you how to point your domain and how to update the site later.

A fast site is often a plain site.

That idea keeps the project focused. Avoid heavy scripts, large images, and extra widgets until you have a clear reason to add them.

Write first, design later

The most common mistake is to spend weeks on the theme before writing any posts. Publish one post, even a short one, and look at it on a phone and on a laptop. Then write the next post. Design changes are easy once you have real text to fit into the layout.

Set a simple rule for yourself. Publish one post a month for three months. At the end of that time, look at the archive. You will see what you enjoy writing, and the site will show a clear direction.

Written by

Spica Writer and designer

I write about design, writing and the small tools that make both easier.

More about me