From 538f0885276ac5af62b078e0a97bff3be01d5b5d Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 8 Oct 2015 18:42:04 -0700 Subject: [PATCH] setTitle() --- js/kobalt.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/js/kobalt.js b/js/kobalt.js index 94673d2..cbdd970 100644 --- a/js/kobalt.js +++ b/js/kobalt.js @@ -2,6 +2,8 @@ // Nav bar // +var title = "Kobalt, by Cedric Beust" + var content = [ { url: "../home/index.html", @@ -72,7 +74,6 @@ function generateToc() { ind = indentAttribute.textContent; } if (! ind) ind = 0; - var currentCounter = 0; if (ind > currentLevel) { if (ind == 0) { toc += '