The code listing are "Program Listing" sections in Lyx (
http://www.lyx.org). Unfortunately Elyxer (
http://www.nongnu.org/elyxer/), the Lyx->HTML converter, doesn't yet understand these sections and so skips them. I'm going to patch it to allow for these, and I'll also provide a PDF build next to the HTML export.