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

Adding HTML template support. #1533

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

vikash
Copy link
Contributor

@vikash vikash commented Feb 28, 2025

A new type response.Template is introduced. It takes a name of the template and the data. Based on the name template is being read from "templates" folder by default and we are using the data to render the said template.

fixes #1515 for now. Eventually we may want to make the folder name customisable or add more header support. For now, current issue gets fixed while ensuring that other people who are not concerned about template do not get affected.

@vikash vikash linked an issue Feb 28, 2025 that may be closed by this pull request
@vikash vikash requested a review from Umang01-hash February 28, 2025 06:24
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.

HTML templating support
1 participant