                       {{if currentPageCaption}}
                        <div>
                            {{if options.HeaderBreadCrumbCaption}}
                            ${options.HeaderBreadCrumbCaption}
                            {{else}}
                            ${Encoder.htmlEncode(currentPageCaption)}
                            {{/if}}
                        </div>
                        {{else header}}
                        {{tmpl(header.data) header.title}}
                        {{/if}