Browse Source

fix unnamed stories being unclickable.

master 1.7.1
Gisle Aune 4 years ago
parent
commit
59a711f150
  1. 4
      marko/components/content-list-item/index.marko

4
marko/components/content-list-item/index.marko

@ -2,7 +2,7 @@
<td class="icon color-highlight-primary">${input.icon}</td> <td class="icon color-highlight-primary">${input.icon}</td>
<td class="content color-primary color-highlight-dark"> <td class="content color-primary color-highlight-dark">
<div class="title"> <div class="title">
<a class="color-primary" href=input.link>${input.name}</a>
<a class="color-primary" href=input.link>${input.name || "(Untitled)"}</a>
</div> </div>
<div if(input.description) class="description color-text"> <div if(input.description) class="description color-text">
<div class="content">${input.description}</div> <div class="content">${input.description}</div>
@ -20,4 +20,4 @@
<item-meta kind="author" value=input.author /> <item-meta kind="author" value=input.author />
</div> </div>
</td> </td>
</tr>
</tr>
Loading…
Cancel
Save