mirror of
https://github.com/ZetaKebab/kesper.git
synced 2025-07-01 01:27:36 +00:00
🎨 Update to use Primary Tag syntax (#337)
refs TryGhost/Ghost#8668 - In Ghost 1.2.0 we introduce primary_tag as a calculated property - Casper can be updated to use this for clarity
This commit is contained in:

committed by
Katharina Irrgang

parent
d7ca6fd2f6
commit
ba10cb1516
@ -7,8 +7,8 @@
|
||||
<div class="post-card-content">
|
||||
<a class="post-card-content-link" href="{{url}}">
|
||||
<header class="post-card-header">
|
||||
{{#if tags}}
|
||||
<span class="post-card-tags">{{tags.[0].name}}</span>
|
||||
{{#if primary_tag}}
|
||||
<span class="post-card-tags">{{primary_tag.name}}</span>
|
||||
{{/if}}
|
||||
<h2 class="post-card-title">{{title}}</h2>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user