소스 검색

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