Skip to content

POC: Add jinja#288

Draft
tomschr wants to merge 14 commits intomainfrom
add-jinja
Draft

POC: Add jinja#288
tomschr wants to merge 14 commits intomainfrom
add-jinja

Conversation

@tomschr
Copy link
Copy Markdown
Contributor

@tomschr tomschr commented Dec 14, 2023

Working on a Jinja environment

Use the following command to render the template:

$ cd src/docserv/templates/
$ jinja --data data.json base.html.j2

@tomschr tomschr self-assigned this Dec 14, 2023
* Create a base template
* Provide some data as JSON

Call:

> jinja --data data.json base.html.j2
- manifest_file: points to 'manifest.json' file
- defer_file: points to a JS file
- header_logo_file: points to the SUSE logo
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.

1 participant