Support config.templates.linenums

This option allows to show line numbers on source code.
The option is the same as used in https://github.com/terryweiss/docstrap