Skip to content

Commit

Permalink
test: use categoryMeta title as title
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Sep 10, 2024
1 parent 46b9e9d commit 59beb41
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pages/_main/_category/index.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<template>
<!-- General template for sub-routes i.e. our-work/software -->
<div>
<div>{{ categoryMeta }}</div>
<div>{{ $route.params }}</div>
<DHero
variant="light"
:title="humanizeHero($route.params.category)"
:title="humanizeHero(categoryMeta.title)"
:subtitle="categoryMeta.description"
>
<!-- Add a button to the Hero when index.yml includes call for action -->
Expand Down

0 comments on commit 59beb41

Please sign in to comment.