فهرست منبع

Fix docs titles

DarthSim 4 سال پیش
والد
کامیت
60dca8be55
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      docs/index.html

+ 2 - 1
docs/index.html

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