hexo配置详细说明 2014-04-26 配置 describe _config.yml 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374# Hexo Configuration## Docs: https://hexo.io/docs/configuration.html## Source: https://github.com/hexojs/hexo/# Sitetitle: (ˇˍˇ) ~subtitle:description: noting...author: niniYlanguage: entimezone:# URL## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'url: https://niniyang.github.io/root: /permalink: :year/:month/:day/:title/permalink_defaults:# Directorysource_dir: sourcepublic_dir: publictag_dir: tagsarchive_dir: archivescategory_dir: categoriescode_dir: downloads/codei18n_dir: :langskip_render:# Writingnew_post_name: :title.md # File name of new postsdefault_layout: posttitlecase: false # Transform title into titlecaseexternal_link: true # Open external links in new tabfilename_case: 0render_drafts: falsepost_asset_folder: falserelative_link: falsefuture: truehighlight: enable: true line_number: true auto_detect: false tab_replace:# Category & Tagdefault_category: uncategorizedcategory_map: 1,2,3,4tag_map: 5,6,7,8# Date / Time format## Hexo uses Moment.js to parse and display date## You can customize the date format as defined in## http://momentjs.com/docs/#/displaying/format/date_format: YYYY-MM-DDtime_format: HH:mm:ss# Pagination## Set per_page to 0 to disable paginationper_page: 10pagination_dir: page# Extensions## Plugins: https://hexo.io/plugins/## Themes: https://hexo.io/themes/theme: hiker# Deployment## Docs: https://hexo.io/docs/deployment.htmldeploy: type: git repository: git@github.com:niniyang/niniyang.github.io.git branch: master 在执行 hexo deploy 后,出现 error deployer not found:github错误,原因可能如下: hexo 更新到3.0之后,deploy的type 的github需要改成git npm install hexo-deployer-git –save 改了之后执行 修改footer显示的内容: 不同主题配置不大一样,但是大抵相同,如下文件目录进行修改: 1/themes/(你的主题)/layout/_partials/footer.*** Newer hexo主题配置详细说明 Older Hexo主题配置