diff options
author | ache <ache@ache.one> | 2023-07-05 09:18:32 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2023-07-05 09:18:32 +0200 |
commit | ed7a886da8cc019ca6b73af6056207cb39a76373 (patch) | |
tree | f1f699a8a09788ca653dda6004661994f3c7eb57 | |
parent | 🔗 i18n message fix (diff) |
🖼️ Fix image URL
-rw-r--r-- | src/build/loadMD.mjs | 2 |
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'; |