diff options
author | Joris Guyonvarch | 2015-02-15 16:40:47 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-02-15 16:40:47 +0100 |
commit | bc8f087aaef57b6c39c0faa3c860e314fa72df0b (patch) | |
tree | a555a19c7788651ac9d2daaab340b4c2206c7d12 /script.js | |
parent | e0aa371f230495abd53b01535cbba40e09c0b59c (diff) |
Adding a font for the page title
Diffstat (limited to 'script.js')
-rw-r--r-- | script.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 = '<div class=contact>' + markdown.toHTML(contactMd) + '</div>'; contentElement.innerHTML = contentHtml + contactHtml; }); }); |