you are right, if I add a new page and choose a template option “home” then it works as home page but without a couple of functions which are on the actual home page.
I replaced the code you provided and it appeared only at the homepage which I created myself with template “home” chosen.
You can have a look on the site.
What do you suggest?