ソースを参照

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;
           });
         }
       ]