Reputation: 931
I would like to know how to import an HTML file into an other HTML file.
Both files refer to a lot of different files, so I would prefer to keep them into two different folders instead of copying one file into the other.
For now, I'm developing locally, with Django.
Upvotes: 7
Views: 13914
Reputation: 989
Including pages with only HTML:
<!--#include virtual="pagetoinclude.html" -->
Upvotes: 0
Reputation: 10712
I've not used Django before, but they have documentation on their template language here.
https://docs.djangoproject.com/en/dev/topics/templates/#template-inheritance
Upvotes: 1