Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing Pug options in @11ty/eleventy-plugin-pug #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

YusukeHirao
Copy link

This PR ensures that Pug options specified in the configuration are correctly applied within @11ty/eleventy-plugin-pug. Although the documentation indicated that Pug options could be passed, they were not being merged internally, leading to a discrepancy between the documentation and the actual implementation.

Changes

  • Added logic to merge Pug options provided in the plugin configuration, aligning the implementation with the documented behavior

With this fix, users can now pass Pug options like pretty and filters as described in the documentation, allowing for custom Pug template rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant