mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
2876178dcf
closes #11772 - Ensures that isSecondary is a boolean true or false - Added tests that cover the bug, switching to using compile because the helpers have to be run together - TODO: all tests for helpers should be switched to compile, it's SO MUCH easier
10 lines
213 B
Handlebars
10 lines
213 B
Handlebars
{{@site.title}}
|
|
|
|
{{#if isHeader}}isHeader is set{{/if}}
|
|
|
|
{{#if isSecondary}}Jeremy Bearimy baby!{{else}}Prime time!{{/if}}
|
|
|
|
{{#foreach navigation}}
|
|
<a href="{{url absolute="true"}}">{{label}}</a>
|
|
{{/foreach}}
|