Open sansyrox opened 10 months ago
For the jinja implementation would it be possible to add something to load the resources like Flask:
{{ url_for('static', filename='images/planets.jpeg') }} or Starlette :
{{ url_for('static', path='images/planets.jpeg') }} or for a route:
{{ url_for('/') }} Because currently using url_for makes the template crash and returns a 500 error ...
Out put this point the integration of jinja works well good job ;)
We will have to include the work done in this PR - https://github.com/sparckles/Robyn/pull/738/files
And then build upon it !
Hey @sansyrox , I created a PR #758 have a look on it.
For the jinja implementation would it be possible to add something to load the resources like Flask:
{{ url_for('static', filename='images/planets.jpeg') }} or Starlette :
{{ url_for('static', path='images/planets.jpeg') }} or for a route:
{{ url_for('/') }} Because currently using url_for makes the template crash and returns a 500 error ...
Out put this point the integration of jinja works well good job ;)