Basically: I had written the story layout and variables well in advance on a planning doc, then finally put all the writing together into the HTML format when the time came
Fair enough! Excellent :)