Use outside data in templates