# URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' url:http://example.com# 网站的网址,必须以http或https开头 permalink::year/:month/:day/:title/# 文章永久链接的形成模版。每一篇文章都有唯一的url permalink_defaults:#文章永久链接中,各部分的默认值。 pretty_urls:# 改写 permalink 的值来美化 URL # 是否在永久链接中保留尾部的 index.html,设置为 false 时去除 trailing_index:true# Set to false to remove trailing 'index.html' from permalinks # 是否在永久链接中保留尾部的 .html, 设置为 false 时去除 (对尾部的 index.html无效) trailing_html:true# Set to false to remove trailing '.html' from permalinks
# Metadata elements ## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta meta_generator:true
# 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# 时间格式 ## updated_option supports 'mtime', 'date', 'empty' updated_option:'mtime'
# Pagination ## Set per_page to 0 to disable pagination per_page:10# 每页显示的文章量 (0 = 关闭分页功能) pagination_dir:page# 分页目录
# 处理或不处理目录或文件 # Include / Exclude file(s) ## include:/exclude: options only apply to the 'source/' folder include: exclude: ignore: