Skip to content

Choosing Themes

A theme is like the personality of your website. Colors and design speak volumes about who you are. How you want others to perceive you. It is nice when you can create your own but it isn’t necessary. You can customize a template to make it a little more interesting.

Astro Themes

The easiest way to get started is to find a theme and fork it on GitHub. Astro has a showcase of free and paid themes. There are several solutions of interest here.

The variety will tell you about the many ways people use Astro. There are minimal blogs, marketing landing pages, agency websites, photography portfolios, shops, etc.

This is the best option for people who want to make small cosmetic changes to them. Themes come with components that will cover most use cases. The basis for my website at is the Astroship theme.

How to Fork a Theme

Choosing a theme on the Astro website

  • Go the the theme page and click on “Get started”

Click get started to go to the Theme repo on GitHub

  • On GitHub fork the theme

Clicking on Fork to clone the repo

  • Once forked go to VS Code and in the terminal clone your repo
  • Click on “Code” and copy the URL from GitHub

Grabbing the link to clone repo to dev environment )

  • Go to the terminal in VS Code and navigate to the directory where you want to keep the files
  • In the terminal use the command “git clone” then right-click and paste your URL

Downloading repo to dev environtment

  • cd into your newly created theme directory (it will have the same name as your repo)
  • Use the command “npm install” to install dependencies

Installing dependencies for project

You will now be able to commit to the master branch of your repo for any changes. Including publishing new blog posts!

Building My First Theme

Originally, my idea was to take a theme and add my custom design elements. Using it as a foundation to build on.

Astro Accelerator

The first one that I liked was Astro Accelerator by Steve Fenton. It is very solid. It has all the features that I was looking for! But, I learned something very quickly about using some themes.

Changing things like the colors or images is straightforward. But, messing with the code will be trouble. The issue I had was that I could not match the slugs of my articles to my WordPress ones. Content collections do this. When I added this feature the theme broke.

It was unusable.

Accessible Astro Starter

The second theme that I wanted to use was Accessible Astro Starter. Upon view, it seemed like it wasn’t updated to Astro 2.0. This is the version that introduced content collections. Again, without using collections there wasn’t a way to get the URL correct for my articles.

Developing an Original Theme

My best option was to make my own. Honestly, I was fooling myself here. The goal was always to re-create my WordPress theme in Astro.

They say the third time’s the charm.

I went to and used the blog template.

Here is the completed design.

The blog design for Beauty of Mathematics