Themes: add guidepost theme

This commit is contained in:
Pieter Vander Vennet 2023-10-10 13:27:56 +02:00
parent 66c69602af
commit ad239b230f
2 changed files with 17 additions and 0 deletions

View file

@ -94,6 +94,9 @@ export default class LayoutConfig implements LayoutInformation {
}
const context = this.id
this.credits = json.credits
if(!json.title){
throw `The theme ${json.id} does not have a title defined.`
}
this.language = json.mustHaveLanguage ?? Object.keys(json.title)
this.usedImages = Array.from(
new ExtractImages(official, undefined)