Command

bengal.utils.theme.swizzle

Copy a theme template/partial to project templates.

Swizzling copies a template from the active theme to your project's templates/ directory, allowing you to customize it while tracking provenance for future updates.

Usage

bengal.utils.theme.swizzle

Arguments

Argument Type Description
source PATH Default:.
template_path required TEXT

Examples

    bengal theme swizzle layouts/article.html
    bengal theme swizzle partials/header.html