Hi there!
I have main.html
<h1>FOOTER HERE</h1>
{% include "/home/jvfiel/test_html/1.html" %}
and 1.html
<p>HELLO WORLD</p>
but when I click print or pdf it won’t generate print/pdf file
I followed http://jinja.pocoo.org/docs/dev/templates/#include
Where did you created these html files? Has to be within your ERPNext repo.
@KanchanChauhan
I added a button “Attach Html” where users will be able to attach custom html
my objective: to be able for each site to have their own custom header and footer, and these .html files has jinja
will this work?