Removed entity name from tag photo description and appending it dynamically.

This commit is contained in:
DebaucheryLibrarian
2021-03-07 19:47:06 +01:00
parent de460f53b1
commit 44523609c1
4 changed files with 344 additions and 341 deletions

View File

@@ -35,7 +35,15 @@
<Logo :photo="item" />
<span
v-if="comments && item.title"
v-if="comments && item.title && item.entity"
class="item-comment"
>{{ item.title }} for <router-link
:to="`/${item.entity.type}/${item.entity.slug}`"
class="link"
>{{ item.entity.name }}</router-link></span>
<span
v-else-if="comments && item.title"
class="item-comment"
>{{ item.title }}</span>
</a>
@@ -194,6 +202,10 @@ export default {
line-height: 1.25;
transform: translateY(100%);
transition: transform .25s ease;
.link {
color: inherit;
}
}
@media(max-width: $breakpoint-giga) {