UNPKG

ydoc

Version:

基于 Markdown 的静态站点生成工具

17 lines 778 B
<html> <Head config={props.config} assets={props.assets} title={props.title} distPath={props.page.distPath} /> <body> <div className="g-doc"> { (props.summary && props.summary.length) ? ( <Summary summary={props.summary} releativePath={props.page.releativePath} distPath={props.page.distPath} /> ) : null } <div className="m-main" id="js-panel"> <Header nav={props.config.nav} distPath={props.page.distPath} buildPath={props.config.buildPath} ydoc={props} /> <Content distPath={props.page.distPath} content={props.page.content} type={props.page.type} ydoc={props} prev={props.page.prev} next={props.page.next} /> </div> </div> <Scripts assets={props.assets} page={props.page} /> </body> </html>