'# URL' ## If your site is put in a subdirectory, set url as http://yoursite.com/child and root as /child/ url: '#用于绑定域名, 其他的不需要配置' root: / permalink: :year/:month/:day/:title/ tag_dir: tags archive_dir: archives category_dir: categories code_dir: downloads/code permalink_defaults:
'# Directory' source_dir: source public_dir: public
'# Writing, 设置生成博文的默认格式,不修改' new_post_name: :title.md # File name of new posts default_layout: post titlecase: false# Transform title into titlecase external_link: true# Open external links in new tab filename_case: 0 render_drafts: false post_asset_folder: false relative_link: false highlight: enable: true line_number: true tab_replace:
'# Server服务器设置, 不修改' //## Hexo uses Connect as a server ## You can customize the logger format as defined in ## http://www.senchalabs.org/connect/logger.html port: 4000 server_ip: localhost logger: false logger_format: dev
'# 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: MMM D YYYY time_format: H:mm:ss
'# Pagination 分页, 设置每页显示多少篇博文' ## Set per_page to 0 to disable pagination per_page: 10 pagination_dir: page