From bc8f087aaef57b6c39c0faa3c860e314fa72df0b Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 15 Feb 2015 16:40:47 +0100 Subject: Adding a font for the page title --- script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'script.js') diff --git a/script.js b/script.js index d3aeb65..a14a308 100644 --- a/script.js +++ b/script.js @@ -26,9 +26,8 @@ var url = location.hash.slice(2) || 'presentation'; var contentElement = document.getElementById('content'); fetchFile('Pages/' + url + '.md', function(contentMd) { - fetchFile('Pages/contact.md', function(contactMd) { + fetchFile('Pages/contact.html', function(contactHtml) { var contentHtml = markdown.toHTML(contentMd); - var contactHtml = '
' + markdown.toHTML(contactMd) + '
'; contentElement.innerHTML = contentHtml + contactHtml; }); }); -- cgit v1.2.3