Where I’m wrong with this template?
My Goal is to display, in order of descending priority:
- title (from frontmatter if exist)
- first H1 header (if exist)
- the page name in both the preceding are non present.
{{#if title}}
* title: [[{{name}}|{{title}}]]
{{else}}
{{#if header}}
* h1: [[{{name}}]]
{{else}}
* page: [[{{name}}]]
{{/if}}
{{/if}}