Blog page wont use blog-template.php

The page you set as the “page for posts” is really a placeholder, allowing you to access the blog with that “Page’s” permalink, but not displaying it as a WordPress Page and so not pulling in the custom template.

The theme’s home.php template will be used for the blog main page, so put your code into that file (without the Page Template header) and all should be well.