example of inline template with layout