Build: separate site publishing form generation (fixes #1356)