---
title: Blogging
description: Creating a blog with notebooks and Markdown in fastship
order: 5
---
## Creating a Blog

`fastship` includes native blog support — post listings, category filters, RSS feeds, unlinked drafts, aliases/redirects, OpenGraph/Twitter cards, and Pagefind search — with zero Quarto installation required.

Start a standalone blog (creating `ship.toml` at the repository root and pages under `ship/`):

```sh
ship-new my-blog --kind site
```

Add a `listing` block to `ship/index.md` (or `ship/posts/index.md` inside a library repository):

```markdown
---
title: My Blog
sidebar: false
listing:
  contents: posts
  type: default
  sort: date desc
  feed: true
---
```

Write each post under `posts/` as a Markdown file (`.md`), executable `.qmd`, or Jupyter notebook (`.ipynb`) with YAML frontmatter (`title`, `description`, `date`, `author`, `categories`, optional `image`, `aliases`, or `draft: true`). Set `draft-mode = "unlinked"` in `ship.toml` to keep draft URLs accessible for review while omitting them from listings, navigation, feeds, sitemap, and search.

Preview live with `ship-preview`, build into `_docs/` with `ship-docs`, and configure GitHub Pages deployment with `ship-pages`.

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Migrating an Existing Quarto Blog

If you have an existing Quarto blog, run `ship-migrate-quarto` (after committing or backing up your repo) to convert `_quarto.yml`, `.qmd` files, callouts, and links into `fastship` (and report any `_metadata.yml` files or unsupported Quarto settings to review). See [Migrating from Quarto or nbdev](migrating_quarto.md) and `doc(fastship.migrate)` for the full checklist.
