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

Templating/layout ignore lists #5

Open
alterae opened this issue Oct 15, 2022 · 1 comment
Open

Templating/layout ignore lists #5

alterae opened this issue Oct 15, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@alterae
Copy link
Owner

alterae commented Oct 15, 2022

It should be possible to tell mksite to not do templating or layouts for certain files. Something like the exclude field in Cargo.toml, with globs. Useful for #1.

[ignore]
template = [ "**/*.{png, pdf}" ]
layout = [ "blog/my-special-page.html" ]
@alterae alterae added the enhancement New feature or request label Oct 15, 2022
@alterae
Copy link
Owner Author

alterae commented Oct 18, 2022

Partly implemented, but only with literal paths and not globs

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

No branches or pull requests

1 participant