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

Introduce `.plush` extension as default template engine #1630

Open
imranismail opened this Issue Mar 21, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@imranismail
Copy link

commented Mar 21, 2019

This is just a question and a suggestion. Is it possible to introduce a .plush clause here as default?

if _, ok := opts.TemplateEngines["tmpl"]; !ok {

I want to give a shot at this if possible.

My use case is that I want to dynamically render yaml/json file. I do it right now by naming the templates for these files like so: openapi.yaml.tmpl

@markbates

This comment has been minimized.

Copy link
Member

commented Mar 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.