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

What about moving templates into their own HTML files instead of keeping them as Python strings? #3

Open
hasansezertasan opened this issue Feb 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hasansezertasan
Copy link
Owner

hasansezertasan commented Feb 3, 2024

What about moving templates into their own HTML files instead of keeping them as Python strings?

The first option that came to my mind to achieve this was Jinja2 but we must keep dependencies as simple as possible.

This StackOverflow question looks very informing: How to read a (static) file from inside a Python package? - Stack Overflow

Some implementations:

@hasansezertasan hasansezertasan added the enhancement New feature or request label Feb 3, 2024
@hasansezertasan hasansezertasan self-assigned this Feb 6, 2024
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