Added an HTML template. Shortened blog code. Enhanced transform function to handle the case when there is nothing to transform.