Matthias Bethke has released HTML Sucks Completely 1.0a, a rpeprocessor that reads HTML files that use an extended syntax with macros, conditionals, variables, expressions, etc. HSC transforms these into static (X)HTML pages.