Simple templating for linking data and document