fix zh-tw image links

This commit is contained in:
Vonng
2021-08-19 08:52:41 +08:00
parent 4e4193a40a
commit bafe8819c3
17 changed files with 312 additions and 551 deletions

View File

@@ -17,7 +17,7 @@
<div id="app">Loading ...</div>
<script>
// Set html "lang" attribute based on URL
var lang = location.hash.match(/#\/(zh-cn)\//);
var lang = location.hash.match(/#\/(zh-tw)\//);
if (lang) {
document.documentElement.setAttribute('lang', lang[1]);
}
@@ -51,8 +51,7 @@
'/zh-tw/': '搜索',
},
pathNamespaces: ['/zh-tw']
},
plugins: [],
}
};
</script>
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"></script>