Skip to content

SEO

Setup

By default, Turboship will load your environment variables to able to use them as meta tags. You can find the configuration in apps/web/app/layout.tsx file in case you want to change the default behavior.

Before you deploy your application, make sure to update the opengraph-image.png and favicon.ico files in the apps/web/app folder as well as og-bg.png in the apps/web/public folder.

Creating a Blog

To create a blog post, you can create a new markdown file in the apps/web/content folder. The file should have the following format:

---
title: Lorem Ipsum Dolor Sit Amet
descrition:
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec auctor, nunc
  eget ultricies ultricies.
image: /images/some-image.png
date: '2024-01-02'
---
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit....

The title, description, image, and date fields are required. The image field should be the path to the image file in the apps/web/public/images folder.

All blog posts will be available at the /blog route.