diff --git a/.github/scripts/preview.mjs b/.github/scripts/preview.mjs index 2b3237b8..c2069eaa 100644 --- a/.github/scripts/preview.mjs +++ b/.github/scripts/preview.mjs @@ -5,7 +5,7 @@ import url from "url" import setup from "../../source/app/metrics/setup.mjs" //Paths -const __metrics = paths.join(paths.dirname(url.fileURLToPath(import.meta.url)), "..") +const __metrics = paths.join(paths.dirname(url.fileURLToPath(import.meta.url)), "../..") const __templates = paths.join(paths.join(__metrics, "source/templates/")) const __node_modules = paths.join(paths.join(__metrics, "node_modules")) const __web = paths.join(paths.join(__metrics, "source/app/web/statics")) diff --git a/source/app/metrics/metadata.mjs b/source/app/metrics/metadata.mjs index d1a7125d..b4b8e321 100644 --- a/source/app/metrics/metadata.mjs +++ b/source/app/metrics/metadata.mjs @@ -286,7 +286,7 @@ metadata.plugin = async function({__plugins, __templates, name, logger}) { const header = [ "
${meta.name} | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| ${(meta.description ?? "").replaceAll("\n", " ")} | |||||||||
| ${(meta.description ?? "").replace(/\n/g, " ")} | |||||||||
| Supported features → Full specification | ',
` ${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `${templates[id].name ?? ""}`).join(" ")} | `,
@@ -406,7 +406,7 @@ metadata.template = async function({__templates, name, plugins, logger}) {
const header = [
"||||||||
${meta.name ?? "(unnamed template)"} | |
|---|---|
| ${(meta.description ?? "").replaceAll("\n", " ")} | |
| ${(meta.description ?? "").replace(/\n/g, " ")} | |
| Supported features → Full specification | ',
` ${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `${plugins[id].icon}`).join(" ")}${meta.formats?.includes("markdown") ? " ✓ embed()" : ""} | `,
diff --git a/source/app/web/statics/about/index.html b/source/app/web/statics/about/index.html
index 087a3f45..61783dbc 100644
--- a/source/app/web/statics/about/index.html
+++ b/source/app/web/statics/about/index.html
@@ -369,6 +369,6 @@
-
+