From 5625999ecaa4b12fa2abf4308306b101f5b0d36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?well=C3=A1?= Date: Wed, 15 Jul 2020 12:26:39 +0200 Subject: [PATCH] make card-titles clickable --- components/Card.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Card.vue b/components/Card.vue index 021cadf..b18acb5 100644 --- a/components/Card.vue +++ b/components/Card.vue @@ -2,7 +2,7 @@ .card(:class="{ cardActive: isActive }") .card--meta img.card--favicon(:src="'https://www.google.com/s2/favicons?domain=' + resource.url" aria-hidden="true") - p.card--title {{resource.title}} + p.card--title(:href="resource.url" :target='resource.title' rel='noreferrer') {{resource.title}} p.card--description {{resource.desc}} .card--links a.card--reference(@click='createCopyUrl(resource)') Copy