# blog-source **Repository Path**: sangfall/blog-source ## Basic Information - **Project Name**: blog-source - **Description**: 博客源文件。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-07 - **Last Updated**: 2021-04-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ##### hexo 常用命令 ``` hexo clean // 清除(提交之前执行) hexo g // 生成静态文件 hexo s // 本地预览 hexo d // 部署项目到码云 ``` ##### Next 主题 ``` $ cd your-hexo-file $ git clone https://github.com/iissnan/hexo-theme-next themes/next ``` ##### Next 主题文件配置 #### Local Search > npm install hexo-generator-searchdb --save ### 站点配置文件 ``` search: path: search.xml field: post format: html limit: 10000 ``` ### 主题配置文件 ``` # Local search local_search: enable: true ``` ##### hexo d 报错问题 ###### 报错 ```$ hexo d ERROR Deployer not found: git ``` ###### 解决方案 > npm install --save hexo-deployer-git