Fix deployment, fix documentation generation, add a small markdown generator
This commit is contained in:
parent
e480c97676
commit
8e72b70742
27 changed files with 478 additions and 399 deletions
|
@ -88,8 +88,8 @@ async function createManifest(layout: LayoutConfig) {
|
|||
console.log(icon)
|
||||
throw "Icon is not an svg for " + layout.id
|
||||
}
|
||||
const ogTitle = Translations.W(layout.title).InnerRenderAsString();
|
||||
const ogDescr = Translations.W(layout.description ?? "").InnerRenderAsString();
|
||||
const ogTitle = Translations.W(layout.title).ConstructElement()?.innerText;
|
||||
const ogDescr = Translations.W(layout.description ?? "").ConstructElement()?.innerText;
|
||||
|
||||
return {
|
||||
name: name,
|
||||
|
@ -109,8 +109,8 @@ async function createLandingPage(layout: LayoutConfig, manifest) {
|
|||
|
||||
Locale.language.setData(layout.language[0]);
|
||||
|
||||
const ogTitle = Translations.W(layout.title)?.InnerRenderAsString();
|
||||
const ogDescr = Translations.W(layout.shortDescription ?? "Easily add and edit geodata with OpenStreetMap")?.InnerRenderAsString();
|
||||
const ogTitle = Translations.W(layout.title)?.ConstructElement()?.innerText;
|
||||
const ogDescr = Translations.W(layout.shortDescription ?? "Easily add and edit geodata with OpenStreetMap")?.ConstructElement()?.innerText;
|
||||
const ogImage = layout.socialImage;
|
||||
|
||||
let customCss = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue