[TASK] Use page.resource for page templates in example

Fixes: #516