Is it possible to use Jinja for homepage sections?
I am using update_website_context and want to show some custom content in homepage sections. I really like the homepage sections. However, it seems Jinja is not parsed inside the hompage section HTML code.
Am I right, that homepage sections do not support Jinja?
If so, how to add Jinja support for homepage sections?
Thank you for this response. This package looks very interesting.
However, I get an error when installing:
File "......../apps/pagemaster/setup.py", line 27, in <listcomp>
install_requires=[str(ir.req) for ir in requirements],
AttributeError: 'ParsedRequirement' object has no attribute 'req'
No need for external apps. Version 13 introduces a Web Page Builder. You can create a Web Template or choose an existing one. A Web Template is a Jinja template for a section of a Web Page. You can compose a Web Page by selecting multiple Web Templates and setting the variables.
Check out the frappe / erpnext websites for an example. Here’s the template for the first section (“Hero with Image”):
hmm, actually I want to show featured products from the inventory on the website, that’s why I am looking for jinja. For this particular customer need to have an integrated solution.
But that’s no problem. For now I go with a custom homepage.