|
|
@@ -3,7 +3,7 @@
|
|
|
<!-- 作者:PJ568 -->
|
|
|
<!-- 项目地址:https://github.com/PJ-568/markdown.html/ -->
|
|
|
<!-- 本项目遵循 CC BY-SA 4.0 International 许可协议 -->
|
|
|
-<!-- v 0.7.0 -->
|
|
|
+<!-- v 0.7.1 -->
|
|
|
|
|
|
<head>
|
|
|
<meta charset="utf-8">
|
|
|
@@ -274,6 +274,7 @@
|
|
|
document.title = firstH1 ? firstH1.textContent : path;
|
|
|
showMarkdownEnded();
|
|
|
} catch (error) {
|
|
|
+ document.title = '加载失败'
|
|
|
document.getElementById('c').innerHTML = `<h1>加载失败</h1><p>文档<code>${path}</code>可能不存在。您可以尝试<a href="">重试</a>。</p>`;
|
|
|
console.error(error);
|
|
|
}
|