mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add categories to stork config
This commit is contained in:
parent
63e8770746
commit
e8a34741bc
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,9 @@ import {
|
|||
import {
|
||||
getRouteType
|
||||
} from '~/helpers/app-derived.js'
|
||||
import {
|
||||
getAppCategory
|
||||
} from '~/helpers/categories.js'
|
||||
import {
|
||||
storkTomlPath,
|
||||
} from '~/helpers/stork/config.js'
|
||||
|
|
@ -53,6 +56,7 @@ function makeDetailsFromListing ({ listing, route }) {
|
|||
return [
|
||||
listing.content || '∅', // Null Symbol
|
||||
has( listing, 'status' ) ? `status_${ listing.status }` : '',
|
||||
has( listing, 'category' ) ? `category_${ getAppCategory( listing ).snakeSlug }` : '',
|
||||
`type_${ getRouteType( route ) }`,
|
||||
// Brownmatter
|
||||
matter.stringify( '', contents ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue