Custom Extensions

This directory contains custom content types and extensions specific to your site.

Purpose

While the platform provides standard content types (posts, shorts, reviews, podcasts), you can create custom types here without modifying platform code.

Structure

Each custom content type should be self-contained in its own folder:

custom/
├── my-custom-type/
│   ├── content-type.js    # Configuration (REQUIRED)
│   ├── layout.njk         # Optional custom layout
│   └── partial.njk        # Optional display template

Example: Book Reviews with BookWyrm Integration

custom/bookwyrm/
├── content-type.js        # Points to content/reviews, defines metadata
├── layout.njk             # Custom layout with bookwyrm-specific features
└── partial.njk            # Review display with book cover, ratings

Creating Custom Content Types

See platform documentation for complete guide on creating custom content types.

Philosophy

Each content type folder is a self-contained plugin. You should be able to copy the entire folder to another site and it just works.