In large, sprawling projects, you might find that you need to run a small section of code at the beginnings or ends of passages frequently.
While you can do this through using `(display:)` and other macros, there is built-in functionality as part of the tagging system in Harlowe that can help with this problem.
[[Header]]
Look! Above this will be the current time!
(You may have noticed that with the Start passage, too.)
By tagging a passage with "header," it will be run as the header of all other passages in a story.
[[Footer]]
{(set: $headerValue to (current-time:))}$headerValue<hr>
{(set: $footerValue to "This is a footer!")}
<hr>$footerValue
You may have also guessed it at this point, but, yes, you can do the same with the 'footer' tag as well.
[[Startup]]
Beyond Header and Footer, there is also a "startup" tag in Harlowe that, of course, runs at start-up before even the starting passage does.