From a365cec790bd328709f6970f089c664db12c3ed3 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 4 Jun 2022 19:14:36 -0500 Subject: [PATCH] Use makeCategoryFilterFromListing in toml builder --- helpers/stork/toml.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/stork/toml.js b/helpers/stork/toml.js index 384d933..3defdac 100644 --- a/helpers/stork/toml.js +++ b/helpers/stork/toml.js @@ -13,7 +13,7 @@ import { getRouteType } from '~/helpers/app-derived.js' import { - getAppCategory + makeCategoryFilterFromListing } from '~/helpers/categories.js' import { storkTomlPath, @@ -56,7 +56,7 @@ function makeDetailsFromListing ({ listing, route }) { return [ listing.content || '∅', // Null Symbol has( listing, 'status' ) ? `status_${ listing.status }` : '', - has( listing, 'category' ) ? `category_${ getAppCategory( listing ).snakeSlug }` : '', + has( listing, 'category' ) ? makeCategoryFilterFromListing( listing ) : '', `type_${ getRouteType( route ) }`, // Brownmatter matter.stringify( '', contents ),