minification compatible
step6 templating links and images
--amend