Fix header element inside header

This commit is contained in:
Sodbileg Gansukh 2021-06-10 13:32:41 +08:00
parent ea33b00c0a
commit 21bdffbd8a

View file

@ -7,7 +7,7 @@
<div class="post-feed"> <div class="post-feed">
{{#tag}} {{#tag}}
<header class="post-card post-card-large"> <section class="post-card post-card-large">
{{#if feature_image}} {{#if feature_image}}
<div class="post-card-image-link"> <div class="post-card-image-link">
{{!-- This is a responsive image, it loads different sizes depending on device {{!-- This is a responsive image, it loads different sizes depending on device
@ -30,7 +30,7 @@
<div class="post-card-primary-tag">Tagged</div> <div class="post-card-primary-tag">Tagged</div>
<h2 class="post-card-title">{{name}}</h2> <h2 class="post-card-title">{{name}}</h2>
</header> </header>
<section class="post-card-excerpt"> <div class="post-card-excerpt">
<p> <p>
{{#if description}} {{#if description}}
{{description}} {{description}}
@ -38,11 +38,11 @@
A collection of {{plural ../pagination.total empty='zero posts' singular='% post' plural='% posts'}} A collection of {{plural ../pagination.total empty='zero posts' singular='% post' plural='% posts'}}
{{/if}} {{/if}}
</p> </p>
</section> </div>
</div> </div>
</div>{{!--/.post-card-content--}} </div>{{!--/.post-card-content--}}
</header> </section>
{{/tag}} {{/tag}}
{{#foreach posts}} {{#foreach posts}}