Bläddra i källkod

Fix docs titles

DarthSim 4 år sedan
förälder
incheckning
60dca8be55
1 ändrade filer med 2 tillägg och 1 borttagningar
  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;
           });
           });
         }
         }
       ]
       ]