Add the web-source ('ref') field to the doc unit description. Fixes #422.
Fix faulty template invokation