* add ignore

* Use postcss

* delete themes/

* fix build script

* fix css, fixed #15, fixed #13

* Add changelog

* Fix horizontal scroll for code block, fixed #11

* Fix sidebar animation
This commit is contained in:
cinwell.li 2016-11-30 21:33:44 +08:00 committed by GitHub
commit 02a0adb872
17 changed files with 888 additions and 1359 deletions

View file

@ -48,8 +48,8 @@ export function renderApp (dom, replace, opts) {
/**
* article
*/
export function renderArticle (content = 'not found', OPTIONS) {
renderTo('article', marked(content))
export function renderArticle (content, OPTIONS) {
renderTo('article', content ? marked(content) : 'not found')
if (!renderSidebar.rendered) renderSidebar(null, OPTIONS)
if (!renderNavbar.rendered) renderNavbar(null, OPTIONS)
}