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
|
getRouteType
|
||||||
} from '~/helpers/app-derived.js'
|
} from '~/helpers/app-derived.js'
|
||||||
import {
|
import {
|
||||||
getAppCategory
|
makeCategoryFilterFromListing
|
||||||
} from '~/helpers/categories.js'
|
} from '~/helpers/categories.js'
|
||||||
import {
|
import {
|
||||||
storkTomlPath,
|
storkTomlPath,
|
||||||
|
|
@ -56,7 +56,7 @@ function makeDetailsFromListing ({ listing, route }) {
|
||||||
return [
|
return [
|
||||||
listing.content || '∅', // Null Symbol
|
listing.content || '∅', // Null Symbol
|
||||||
has( listing, 'status' ) ? `status_${ listing.status }` : '',
|
has( listing, 'status' ) ? `status_${ listing.status }` : '',
|
||||||
has( listing, 'category' ) ? `category_${ getAppCategory( listing ).snakeSlug }` : '',
|
has( listing, 'category' ) ? makeCategoryFilterFromListing( listing ) : '',
|
||||||
`type_${ getRouteType( route ) }`,
|
`type_${ getRouteType( route ) }`,
|
||||||
// Brownmatter
|
// Brownmatter
|
||||||
matter.stringify( '', contents ),
|
matter.stringify( '', contents ),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue