mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Use makeCategoryFilterFromListing in toml builder
This commit is contained in:
parent
be18f711d6
commit
a365cec790
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue