diff --git a/components/GothamistHomepageTopper.vue b/components/GothamistHomepageTopper.vue index f991719f..180d4312 100644 --- a/components/GothamistHomepageTopper.vue +++ b/components/GothamistHomepageTopper.vue @@ -11,7 +11,14 @@ const props = defineProps<{ }>() const featuredArticle = computed(() => props.articles[0]) -const latestArticles = computed(() => props.articles.slice(1)) +const latestArticles = computed(() => { + return props.articles.slice(1) + // remove the manually curated featured article + // from the list of latest articles so it + // doesn't show up twice in this module + .filter(article => article.uuid !== featuredArticle.value.uuid) + .slice(0,4) +})