Various small fixes
This commit is contained in:
parent
1ea285d303
commit
2dd428497e
45 changed files with 776 additions and 587 deletions
|
@ -85,6 +85,7 @@ export class FromJSON {
|
|||
layout.maintainer = json.maintainer;
|
||||
layout.version = json.version;
|
||||
layout.socialImage = json.socialImage;
|
||||
layout.description = tr(json.shortDescription) ?? tr(json.description)?.FirstSentence();
|
||||
layout.changesetMessage = json.changesetmessage;
|
||||
return layout;
|
||||
}
|
||||
|
|
|
@ -37,6 +37,12 @@ export interface LayoutConfigJson {
|
|||
* The title, as shown in the welcome message and the more-screen
|
||||
*/
|
||||
title: string | any;
|
||||
|
||||
/**
|
||||
* A short description, showed as social description and in the 'more theme'-buttons
|
||||
*/
|
||||
shortDescription?: string | any;
|
||||
|
||||
/**
|
||||
* The description, as shown in the welcome message and the more-screen
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue