浏览代码

Fix docs titles

DarthSim 3 年之前
父节点
当前提交
60dca8be55
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/index.html

+ 2 - 1
docs/index.html

@@ -77,7 +77,8 @@
         },
         function (hook, vm) {
           hook.doneEach((content) => {
-            document.title += " | " + documentTitleBase;
+            if (document.title != documentTitleBase)
+              document.title += " | " + documentTitleBase;
           });
         }
       ]