summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-07-05 09:18:32 +0200
committerache <ache@ache.one>2023-07-05 09:18:32 +0200
commited7a886da8cc019ca6b73af6056207cb39a76373 (patch)
treef1f699a8a09788ca653dda6004661994f3c7eb57 /src
parent🔗 i18n message fix (diff)
🖼️ Fix image URL
Diffstat (limited to 'src')
-rw-r--r--src/build/loadMD.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/loadMD.mjs b/src/build/loadMD.mjs
index 397ab88..6ba4f76 100644
--- a/src/build/loadMD.mjs
+++ b/src/build/loadMD.mjs
@@ -30,7 +30,7 @@ const loadMD = (listFile, suffix, lang) => {
const logo = select('img', intro);
if (logo && logo?.properties) {
if (logo.properties.src[0] != '/') {
- logo.properties.src = `${suffix}/${logo.properties.src}`;
+ logo.properties.src = `/${suffix}/${logo.properties.src}`;
}
logo.properties.height = '150';
logo.properties.width = '150';