0.7.0 (#16)
* 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:
parent
e48518b42a
commit
02a0adb872
17 changed files with 888 additions and 1359 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue