VPStaticPageEntryTemplate: This special page is what is used as a template for
individual posts for the
VPStaticRSSEntryTemplate: This page is similar to the
VPStaticPageEntryTemplate, but is used for entries in the RSS feed.
CUSTOMIZING WITH EVENTS
of the Static palette to show the VPStaticExportScript page. You'll ﬁnd a handful of
functions which are called at various stages of publishing. For instance, the
staticSetupConﬁguration function is used to customize various settings of your blog
such as its name and home URL. You can add or modify the HTML before it is
written to disk, and you can see events when publishing starts and ﬁnishes.
The staticSetupConﬁguration function is called ﬁrst, and is used to conﬁgure
various settings for your blog. There are some default values in here which you'll
probably want to change up.
staticExportWillBegin function is called next, and can be used to setup or modify
your own global variables, or maybe write out some extra pages or assets.
staticExportItemWillBegin function is called last, and gives you an opportunity to
cleanup when the export is ﬁnished.
staticExportDidRenderHTMLForItem is called when a post has been converted to
HTML, and before it is written to the index page, archive page, or rss feed. You can
use this opportunity to change content on that post, or add to it. By default, the
staticExportDidRenderHTMLForItem function includes an example for doing simple
macro expansion. For instance, writing $vp$ in your post will print out a link to
VoodooPad's website. You can delete those macros, or add to them.
staticExportWillAppendItemToFrontPage is called before a post is added to the
front page. You can use this opportunity to add custom HTML that you might want
to show up between posts.
Likewise, staticExportDidAppendItemToFrontPage is called after a post is added
to the front page.
staticExportArchivePathForItem gives you an opportunity to customize where the
archive pages are kept. If you're not happy with the format that Static uses, then you
can change up this function.