Concat page title string

Say inside application.hbs i have

{{ page-title "Foo - " }}

Then inside a page template i have

{{ page-title “Bar” }}

So when the page is accessed the title is concatenated to

Foo - Bar

How would i do this?

According to the documentation website, the nested page title will be added to beginning of the full page title. To make it add the nested title at the end, do:

{{page-title “Bar” prepend=false}}
1 Like