ghost-theme-sd.ai/partials/components/header.hbs
2023-08-14 09:10:22 +08:00

23 lines
667 B
Handlebars

{{#match headerStyle "!=" "Off"}}
{{#match headerStyle "Highlight"}}
{{#match posts.length ">=" 10}}
{{> "components/header-content"}}
{{/match}}
{{else match headerStyle "Magazine"}}
{{#match posts.length ">=" 7}}
{{> "components/header-content"}}
{{/match}}
{{else}}
{{#match headerStyle "Landing"}}
{{#if @site.members_enabled}}
{{#unless @member}}
{{> "components/header-content"}}
{{/unless}}
{{/if}}
{{else}}
{{> "components/header-content"}}
{{/match}}
{{/match}}
{{/match}}