diff options
Diffstat (limited to 'src/build/loadMD.mjs')
| -rw-r--r-- | src/build/loadMD.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build/loadMD.mjs b/src/build/loadMD.mjs index 8675e42..0861e9d 100644 --- a/src/build/loadMD.mjs +++ b/src/build/loadMD.mjs @@ -18,9 +18,9 @@ const loadMD = (listFile, dirSuffix, pathLinkSuffix, lang) => { const mdRaw = toMdRaw(content); const tomlStringValue = mdRaw.children[0].value; const metaData = toml.parse(tomlStringValue); - const newHTML = mdToHtmlRaw(mdRaw); - const langR = lang || metaData.lang; + const newHTML = mdToHtmlRaw(mdRaw, langR); + const linkSuffix = pathLinkSuffix || dirSuffix; const htmlContent = newHTML; |