I’m wondering how everyone creates re-usable templates.
I have some common includes the the head, header, footer, etc., but what about the actual “frame” of the page.
To simplify: I have a few different templates I use and I’d like to be able to define them in some manner and then just create the content areas in each EE template. That way, if I make a true global template change I only make it in a few spots, instead of every template.
<html>
<head>
<!-- head include -->
</head>
<body>
<!-- header include -->
content
<!-- footer include -->
</body>
</html>I could have that on every page now. Let’s say I wanted to add something, like a wrapper div (or I wanted to change the class of it), I would need to edit every template and there are tons, even though most are using the same structure.
What’s the best way to accomplish this in EE? I’ve tried searching, but I think the word template being used in different ways here is throwing off the results.