0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 11:12:39 +00:00

Swapping working. Splitting into separate JS bundles doesn't seem to work.

This commit is contained in:
Trevor Buckner
2022-01-02 23:54:48 -05:00
parent 714a425ae5
commit 9f12e2748d
7 changed files with 94 additions and 44 deletions

View File

@@ -20,7 +20,7 @@ const mergeBrewText = (brew)=>{
`\`\`\`\n\n` +
`${text}`;
}
const metadata = _.pick(brew, ['title', 'description', 'tags', 'systems', 'renderer']);
const metadata = _.pick(brew, ['title', 'description', 'tags', 'systems', 'renderer', 'theme']);
text = `\`\`\`metadata\n` +
`${yaml.dump(metadata)}\n` +
`\`\`\`\n\n` +