mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
2c498ab193
Refs https://www.notion.so/ghost/Switch-breadcrumb-style-513a624c0e0d490ca39a2fdb97a6971a - Separating out the breadcrumbs and the title makes it easier to navigate back on multiple levels for nested pages. - Avoids very long titles, as it doesn't include breadcrumbs anymore
17 lines
726 B
Handlebars
17 lines
726 B
Handlebars
<div class="flex flex-column">
|
|
{{#if this.customViews.activeView}}
|
|
<div class="gh-canvas-breadcrumb">
|
|
<LinkTo @route={{this.router.currentRouteName}} @query={{@query}}>
|
|
{{or @title "No @title provided"}}
|
|
</LinkTo>
|
|
{{svg-jar "arrow-right-small"}} {{this.customViews.activeView.name}}
|
|
</div>
|
|
<h2 class="gh-canvas-title gh-post-title" data-test-screen-title>
|
|
{{this.customViews.activeView.name}}
|
|
</h2>
|
|
{{else}}
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
<LinkTo @route={{this.router.currentRouteName}} @query={{@query}}>{{or @title "No @title provided"}}</LinkTo>
|
|
</h2>
|
|
{{/if}}
|
|
</div> |