Add a class to card meta author

This commit is contained in:
Sodbileg Gansukh 2022-01-26 13:10:55 +08:00
parent eb007cb1c1
commit 13458e0d2d

View file

@ -51,7 +51,7 @@ which templates loop over to generate a list of posts. --}}
{{/foreach}} {{/foreach}}
</ul> </ul>
<div class="post-card-byline-content"> <div class="post-card-byline-content">
<span>{{#has author="count:>2"}}Multiple authors{{else}}{{authors}}{{/has}}</span> <span class="post-card-byline-author">{{#has author="count:>2"}}Multiple authors{{else}}{{authors}}{{/has}}</span>
<span class="post-card-byline-date"><time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time> <span class="bull">&bull;</span> {{reading_time}}</span> <span class="post-card-byline-date"><time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time> <span class="bull">&bull;</span> {{reading_time}}</span>
</div> </div>
</footer> </footer>