From 7a052b0dadae051c9ebec50c22d618e17585fa48 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Wed, 2 Nov 2016 11:26:06 +0800 Subject: Require index stylesheets --- public/js/index.js | 7 ++++++- public/views/head.ejs | 6 ++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/public/js/index.js b/public/js/index.js index 8080b9c7..183a81c8 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1,6 +1,11 @@ /* jquery and jquery plugins */ require('../vendor/showup/showup'); +require('../css/index.css'); +require('../css/extra.css'); +require('../css/slide-preview.css'); +require('../css/site.css'); + var toMarkdown = require('to-markdown'); var saveAs = require('file-saver').saveAs; @@ -2306,7 +2311,7 @@ socket.on('delete', function () { saveHistory(newnotehistory); location.href = serverurl; }); - } + } }); var retryTimer = null; socket.on('maintenance', function () { diff --git a/public/views/head.ejs b/public/views/head.ejs index 00571186..77cc1cf0 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -35,11 +35,9 @@ + <%- include build/index-header %> - - - - +