Your sites Log in Sign up Menu

More on footer.html: Where to source it?

From the blog template I can see the footer gets not sourced magically, so it has to be sourced explicitly in each page template, e.g. in entries.html, right?

Then the question is: Where to source it: Inside all <div>s (as I found in the blog template) or more outside, say, before the </html>? tag?

I'm not a big web expert, but I read somewhere JS code should be sourced as late as possible in an HTML document...

Thanks heaps for helping a template beginner!


2 years ago, 1 replies   Improve this question

Either works โ€“ you're right that JS ideally should be sourced as late as possible to prevent its interference with the rendering of the rest of the page but the costs are likely pretty small in the case of a Blot template. I wouldn't worry too much and just go with what feels best to you

Answered 2 years ago ยท Improve this answer