% % create the html based on template and text layers/layer tags % % cycle through the inverse layer list, bottom to top %