From 30140ff4d13326552b05613fdd6113187a85cc8b Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 17 May 2022 14:34:42 -0500 Subject: [PATCH] =?UTF-8?q?Move=20status=20to=20it=E2=80=99s=20own=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helpers/stork/toml.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/stork/toml.js b/helpers/stork/toml.js index 7eea5ed..2a7a8f6 100644 --- a/helpers/stork/toml.js +++ b/helpers/stork/toml.js @@ -23,7 +23,7 @@ function makeDetailsFromListing ( listing ) { text: isNonEmptyString, content: isNonEmptyString, description: isNonEmptyString, - status: isNonEmptyString, + // status: isNonEmptyString, aliases: isNonEmptyArray, tags: isNonEmptyArray, } @@ -49,6 +49,7 @@ function makeDetailsFromListing ( listing ) { return [ listing.content || 'No content', + has( listing, 'status' ) ? `status:${ listing.status }` : '', // Brownmatter matter.stringify( '', contents ), ].join('')