Skip to content

Commit 501bc58

Browse files
author
Felix Hennig
committed
Added module to title if it isn't ROOT
1 parent 957941b commit 501bc58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partials/head-title.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
<title>{{{detag (or page.title defaultPageTitle)}}}{{#if (ne page.component.name 'home')}} :: {{page.component.title}}{{/if}}{{#with site.title}} :: {{this}}{{/with}}</title>
1+
<title>{{{detag (or page.title defaultPageTitle)}}}{{#if (ne page.module 'ROOT')}} :: {{page.module}}{{/if}}{{#if (ne page.component.name 'home')}} :: {{page.component.title}}{{/if}}{{#with site.title}} :: {{this}}{{/with}}</title>
22
<!-- <title>{{{detag (or page.title defaultPageTitle)}}}{{#if (ne site.component.name 'home')}} :: {{site.component.name}}{{/if}}{{#with site.title}} :: {{this}}{{/with}}</title> -->

0 commit comments

Comments
 (0)