Fleshing out the template for lessons

Minor comments and editing corrections would be very welcome; please save comments on the template itself until the post is up, so that everything can be in one place on the web site.
I don't understand this API bit, how's that relate to the glossary?