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!

1 replies

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 4 months ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us

Tags

developers 28 questions bug 14 questions posts 9 questions resolved 7 questions request 6 questions google-drive 5 questions configure 4 questions pages 3 questions added 3 questions meta 3 questions More tags →
Subscribe for changes
RSS Feed of latest questions