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

Construct HTML files using Jinja2 template(s) #18

Open
kodzonko opened this issue Feb 16, 2022 · 0 comments
Open

Construct HTML files using Jinja2 template(s) #18

kodzonko opened this issue Feb 16, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kodzonko
Copy link
Contributor

kodzonko commented Feb 16, 2022

AC

Template(s) for creating base HTML and output HTML should be written with Jinja2 syntax. Only Jinja2 methods should be used -- Flask renderer shouldn't be involved in this.

TODO

  • Replace HTML skeleton elements created as a multiline string with Jinja2 syntax
  • Research methods of smart validation of the templates using some methods rather than assert <html string 1> == <html string 2>
  • If there's a reason for it, create templates hierarchy e.g.
base_template.html
               |-> output_html_template.html
               |-> output_epub_tempalte.html
               |-> etc...
@kodzonko kodzonko added the enhancement New feature or request label Feb 16, 2022
@kodzonko kodzonko self-assigned this Feb 16, 2022
@kodzonko kodzonko moved this from Todo to In Progress in Publications Mar 18, 2022
@kodzonko kodzonko moved this from In Progress to In Review in Publications Apr 8, 2022
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
Status: In Review
1 participant