# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url: http://用户名.github.io ## 有些人说这里填域名,可是后面需要用到图片的相关插件,这里填写这个即可 root: / permalink: :year/:month/:day/:title/ permalink_defaults:
# Directory ##文件目录,可不改 source_dir: source public_dir: public tag_dir: tags archive_dir: archives category_dir: categories code_dir: downloads/code i18n_dir: :lang skip_render: # Writing ##静态页面生成属性,可不改 new_post_name: :year-:month-:day-: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: true # 后面图片插入需要用到的 relative_link: false future: true highlight: enable: true line_number: true auto_detect: false tab_replace:
# Category & Tag ##标签,可不改 default_category: uncategorized category_map: tag_map: # 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-DD time_format: HH:mm:ss
# Pagination ##每页显示文章数,按需改 ## Set per_page to 0 to disable pagination per_page: 10 pagination_dir: page # Extensions ##主题设置 ## Plugins: https://hexo.io/plugins/ ## Themes: https://hexo.io/themes/ theme: 3-hexo