Browse Source

Fix docs titles

DarthSim 3 năm trước cách đây
mục cha
commit
60dca8be55
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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;
           });
         }
       ]