blog_theme/partials/post-header.hbs
Sodbileg Gansukh 2fc92e58a0 Code formatting
2020-09-24 10:25:42 +08:00

17 lines
452 B
Handlebars

<header class="post-header">
{{#unless hide_tag}}
{{#primary_tag}}
<a class="post-tag" href="{{url}}">{{name}}</a>
{{/primary_tag}}
{{/unless}}
<{{tag}} class="post-title">
{{#unless hide_link}}
<a class="post-title-link" href="{{url}}">{{title}}</a>
{{else}}
{{title}}
{{/unless}}
</{{tag}}>
{{#if show_date}}
{{> post-date}}
{{/if}}
</header>