├── source ├── zh-cn │ ├── fekey │ │ ├── quickstart.md │ │ └── index.md │ ├── docs │ │ ├── core │ │ │ ├── deployment.md │ │ │ ├── development.md │ │ │ ├── logger.md │ │ │ ├── runtime.md │ │ │ └── view.md │ │ ├── advanced │ │ │ ├── framework.md │ │ │ ├── fetch-server.md │ │ │ ├── server-isoloton.md │ │ │ └── plugin.md │ │ ├── faq │ │ │ ├── deploy.md │ │ │ ├── wechat.md │ │ │ ├── contributing.md │ │ │ ├── start.md │ │ │ └── debug.md │ │ ├── intro │ │ │ ├── index.md │ │ │ └── quickstart.md │ │ └── basics │ │ │ ├── router.md │ │ │ ├── structure.md │ │ │ ├── service.md │ │ │ └── mock.md │ ├── index.md │ ├── page │ │ ├── user.md │ │ └── process.md │ └── faq.md ├── api │ └── index.md ├── en │ ├── index.md │ └── faq.md └── _data │ ├── languages.yml │ ├── menu.yml │ └── sidebar.yml ├── .gitignore ├── themes ├── docs │ ├── source │ │ ├── images │ │ │ ├── banner.jpg │ │ │ ├── logo.png │ │ │ ├── search.png │ │ │ ├── favicon.png │ │ │ ├── feature1.svg │ │ │ ├── github.svg │ │ │ ├── feature2.svg │ │ │ ├── feature3.svg │ │ │ ├── logo-new.svg │ │ │ └── logo.svg │ │ ├── css │ │ │ ├── partial │ │ │ │ ├── var.less │ │ │ │ ├── footer.less │ │ │ │ ├── main.less │ │ │ │ ├── toc.less │ │ │ │ ├── mobile.less │ │ │ │ └── nav.less │ │ │ ├── index.less │ │ │ ├── page │ │ │ │ ├── page.less │ │ │ │ └── index.less │ │ │ └── vendor │ │ │ │ ├── highlight-github.less │ │ │ │ ├── normalize.less │ │ │ │ └── github-markdown.less │ │ └── js │ │ │ └── mobile-aside.js │ ├── layout │ │ ├── page.swig │ │ ├── partial │ │ │ ├── aside.swig │ │ │ ├── footer.swig │ │ │ ├── head.swig │ │ │ └── header.swig │ │ ├── post.swig │ │ ├── layout.swig │ │ └── index.swig │ ├── lib │ │ └── renderer.js │ ├── languages │ │ ├── en.yml │ │ └── zh-cn.yml │ └── scripts │ │ └── helpers.js └── navy │ ├── source │ ├── css │ │ ├── _partial │ │ │ ├── post.styl │ │ │ ├── archive.styl │ │ │ ├── footer.styl │ │ │ ├── sidebar.styl │ │ │ ├── base.styl │ │ │ ├── header.styl │ │ │ ├── highlight.styl │ │ │ ├── plugins.styl │ │ │ ├── index.styl │ │ │ ├── mobile_nav.styl │ │ │ └── page.styl │ │ ├── navy.styl │ │ └── _variables.styl │ └── js │ │ ├── lang_select.js │ │ ├── mobile_nav.js │ │ ├── toc.js │ │ ├── plugins.js │ │ └── scrollingelement.js │ ├── layout │ ├── partial │ │ ├── sidebar.swig │ │ ├── plugin.swig │ │ ├── google_analytics.swig │ │ ├── post.swig │ │ ├── theme.swig │ │ ├── footer.swig │ │ ├── comment.swig │ │ ├── mobile_nav.swig │ │ ├── after_footer.swig │ │ ├── share.swig │ │ ├── header.swig │ │ └── head.swig │ ├── post.swig │ ├── layout.swig │ ├── plugins.swig │ ├── archive.swig │ ├── page.swig │ └── index.swig │ ├── scripts │ ├── tags.js │ └── helpers.js │ └── languages │ ├── en.yml │ └── zh-cn.yml ├── package.json ├── README.md └── _config.yml /source/zh-cn/fekey/quickstart.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/api/index.md: -------------------------------------------------------------------------------- 1 | layout: api 2 | title: API 3 | --- 4 | -------------------------------------------------------------------------------- /source/zh-cn/docs/core/deployment.md: -------------------------------------------------------------------------------- 1 | title: 应用部署 2 | --- 3 | 4 | -------------------------------------------------------------------------------- /source/en/index.md: -------------------------------------------------------------------------------- 1 | layout: index 2 | subtitle: baiduwaimai 3 | --- 4 | -------------------------------------------------------------------------------- /source/zh-cn/docs/advanced/framework.md: -------------------------------------------------------------------------------- 1 | title: 框架开发 2 | --- 3 | 4 | 5 | -------------------------------------------------------------------------------- /source/zh-cn/docs/faq/deploy.md: -------------------------------------------------------------------------------- 1 | title: NodeUI环境及部署问题汇总 2 | --- 3 | 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | db.json 4 | *.log 5 | node_modules/ 6 | public/ 7 | .deploy*/ -------------------------------------------------------------------------------- /source/zh-cn/docs/core/development.md: -------------------------------------------------------------------------------- 1 | title: 本地开发 2 | --- 3 | 4 | 为了提升研发体验,我们提供了便捷的方式在本地进行开发、调试、单元测试等。 5 | 6 | -------------------------------------------------------------------------------- /source/zh-cn/docs/core/logger.md: -------------------------------------------------------------------------------- 1 | title: 日志 2 | --- 3 | 4 | 日志对于 Web 开发的重要性毋庸置疑,它对于监控应用的运行状态、问题排查等都有非常重要的意义。 5 | 6 | -------------------------------------------------------------------------------- /themes/docs/source/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/younth/hexo-site-kit/HEAD/themes/docs/source/images/banner.jpg -------------------------------------------------------------------------------- /themes/docs/source/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/younth/hexo-site-kit/HEAD/themes/docs/source/images/logo.png -------------------------------------------------------------------------------- /themes/docs/source/images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/younth/hexo-site-kit/HEAD/themes/docs/source/images/search.png -------------------------------------------------------------------------------- /themes/docs/source/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/younth/hexo-site-kit/HEAD/themes/docs/source/images/favicon.png -------------------------------------------------------------------------------- /themes/navy/source/css/_partial/post.styl: -------------------------------------------------------------------------------- 1 | .post 2 | margin: 0 auto 3 | float: none 4 | @media screen 5 | max-width: 800px -------------------------------------------------------------------------------- /themes/docs/source/css/partial/var.less: -------------------------------------------------------------------------------- 1 | @bg_default: #F6F8F8; 2 | @bg_dark: #121724; 3 | @bg_light: #FFFFFF; 4 | 5 | @max_width: 1136px; 6 | -------------------------------------------------------------------------------- /themes/navy/layout/partial/sidebar.swig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/zh-cn/index.md: -------------------------------------------------------------------------------- 1 | layout: index 2 | description: Hexo is a fast, simple & powerful blog framework powered by Node.js. 3 | subtitle: 百度外卖企业级高可用Node渲染容器 4 | comments: false 5 | --- -------------------------------------------------------------------------------- /source/zh-cn/page/user.md: -------------------------------------------------------------------------------- 1 | layout: post 2 | title: 谁在使用NodeUI 3 | --- 4 | 5 | 目前广泛的应用在外卖运营活动,糯米组件接口,外卖各类APP内嵌h5页面等服务。 6 | 7 | - 糯米组件 8 | - 小度商城 9 | - 运营活动 10 | - 会员卡 11 | - banff 12 | - ....... -------------------------------------------------------------------------------- /themes/navy/layout/post.swig: -------------------------------------------------------------------------------- 1 |
{{ plugin.description }}
4 | 9 |' + header; 13 | result += hexo.render.renderSync({text: content, engine: 'markdown'}); 14 | result += ''; 15 | 16 | return result; 17 | }, true); -------------------------------------------------------------------------------- /themes/navy/layout/partial/google_analytics.swig: -------------------------------------------------------------------------------- 1 | {% if config.google_analytics %} 2 | 11 | {% endif %} -------------------------------------------------------------------------------- /themes/navy/source/css/_partial/archive.styl: -------------------------------------------------------------------------------- 1 | .archive-post 2 | padding: 1em 0 3 | border-top: 1px solid color-border 4 | &:last-child 5 | padding-bottom: 40px 6 | 7 | .archive-post-link 8 | clearfix() 9 | display: block 10 | color: color-default 11 | text-decoration: none 12 | line-height: line-height 13 | &:hover 14 | color: color-link-hover 15 | 16 | .archive-post-title 17 | font-family: font-title 18 | float: left 19 | font-weight: bold 20 | 21 | .archive-post-date 22 | color: color-gray 23 | float: right 24 | font-size: 0.9em -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hexo-site-kit", 3 | "version": "0.0.1", 4 | "hexo": { 5 | "version": "3.3.1" 6 | }, 7 | "dependencies": { 8 | "hexo": "^3.2.0", 9 | "hexo-deployer-git": "^0.2.0", 10 | "hexo-generator-index": "^0.2.0", 11 | "hexo-generator-tag": "^0.2.0", 12 | "hexo-renderer-less": "^0.2.0", 13 | "hexo-server": "^0.2.0", 14 | "markdown-it": "^8.2.2", 15 | "markdown-it-replace-link": "^1.0.0", 16 | "markdown-it-toc-and-anchor": "^4.1.1", 17 | "hexo-renderer-marked": "^0.2.10", 18 | "hexo-renderer-stylus": "^0.3.1", 19 | "lunr": "^0.6.0" 20 | } 21 | } -------------------------------------------------------------------------------- /themes/docs/layout/layout.swig: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ partial('partial/head') }} 5 | 6 | 7 | {{ partial('partial/header') }} 8 |
{{ plugin.description }}
10 | 15 |Node.js 所带来的超快生成速度,让上百个页面在几秒内瞬间完成渲染。
23 |Hexo 支持 GitHub Flavored Markdown 的所有功能,甚至可以整合 Octopress 的大多数插件。
32 |只需一条指令即可部署到 GitHub Pages, Heroku 或其他网站。
41 |Hexo 拥有强大的插件系统,安装插件可以让 Hexo 支持 Jade, CoffeeScript。
50 |