Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove htmlOutputSuffix Common Pitfall when input and output directories match. #3327

@zachleat

Description

@zachleat

Read more about what happens when you use the same directory for input and output:
https://v2-0-1.11ty.dev/docs/languages/html/#using-the-same-input-and-output-directories

Read more about what the htmlOutputSuffix feature did:
https://v2-0-1.11ty.dev/docs/config/#change-exception-case-suffix-for-html-files


From a GitHub search this feature is almost never modified from default: https://github.com/search?q=htmlOutputSuffix&type=code&p=1

Double processing templates should simply throw an error. Removing this feature would result in duplicate permalink errors.

Run 1:
README.md -> README/index.html

Run2:
README.md -> README/index.html
README/index.html -> README/index.html (duplicate permalink error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeThis will have to be included with a major version as it breaks backwards compatibility.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions