From a5f8b4ca3017bc7a2db1094da4082b2c2de66c1a Mon Sep 17 00:00:00 2001 From: eggy Date: Sun, 11 Jun 2023 21:20:41 -0400 Subject: [PATCH] feat: allow tags with spaces to be linkable something like 'unstagnation 2023' --- components/Tag.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/Tag.vue b/components/Tag.vue index 5ca14c4..ce6d724 100644 --- a/components/Tag.vue +++ b/components/Tag.vue @@ -5,7 +5,8 @@ const props = defineProps<{ highlight?: boolean; }>(); -const isLinkableTag = !props.name.includes(" "); +// const isLinkableTag = !props.name.includes(" "); +const isLinkableTag = true; const tagClass = [ "inline-block text-xs rounded-lg py-1 px-2 mt-1 mr-1 transition border border-pink-200 dark:border-pink-900 border-2 font-medium", { "bg-pink-200 dark:bg-pink-900": props.highlight },