diff --git a/js/models.js b/js/models.js index f3440fd..8d39477 100644 --- a/js/models.js +++ b/js/models.js @@ -6,12 +6,11 @@ function TabSpec(code, id, text, handler) this.handler = handler; } -function BlogSpec(code, date, name, file) +function BlogSpec(code, date, name) { this.code = code; this.date = date; this.name = name; - this.file = file; } function PoweredBySpec(name, url, imageUrl, width, height) @@ -52,7 +51,7 @@ var tabs = [ ]; var blogs = [ - new BlogSpec('intro', 'March 7, 2013', 'Introducing the Netflix OSS Blog', 'intro.html') + new BlogSpec('intro', 'March 7, 2013', 'Introducing the Netflix OSS Blog') ]; var poweredBy = [ diff --git a/js/nf.js b/js/nf.js index dea4c0d..3d4e8ca 100644 --- a/js/nf.js +++ b/js/nf.js @@ -414,7 +414,7 @@ function refineBlogHash(hash) if ( parts.length < 2 ) { location.hash = parts[0]; - blogName = blogs[0].file; + blogName = blogs[0].code; } else {