Skip to content

eleventyImageTransformPlugin with extensionless files #346

Description

@btrem

I output two html file patterns:

  1. index.html for directory indexes, e.g., _site/index.html for the home page, or _site/2025/index.html for posts from 2025.
  2. extensionless html files for individual posts, e.g., _site/2025/my-post. (I serve these as text/html with ForceType 'text/html; charset=utf-8' inside an Apache configuration FilesMatch block.)

eleventyImageTransformPlugin by default only transforms images for the first category, any index.html files. I can change it to include other extensions. Can I modify it to include extensionless files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions