# Site title:【网页标题】 subtitle:【网页副标题】 description:【描述,可以是格言】 keywords:【关键字,便于搜索引擎爬取】 author:【作者名,就是您】 language:【主语言,简体中文是'zh-CN'】 timezone:【时区,不写即默认所在地】
我配置完是这样的:
1 2 3 4 5 6 7 8
# Site title:first'sblog subtitle:'' description:JustDoIt,ButNotJustDoIt. keywords: author:first_fan language:zh-CN timezone:''
作用部位在图中指出[指向’首页’是指’home’变成了中文的’首页’]
网址链接配置
1 2 3 4 5 6 7 8
# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url:https://firstfan119.github.io【此处改为自己的域名】 root:/ permalink::year/:month/:day/:title/【永久链接日期格式,非必要可以不改】 permalink_defaults: pretty_urls: trailing_index:true# Set to false to remove trailing index.html from permalinks
# Home page setting # path: Root path for your blogs index page. (default = '') # per_page: Posts displayed per page. (0 = disable pagination) # order_by: Posts order. (Order by date descending by default) index_generator: path:'' per_page:10 order_by:-date
# Category & Tag default_category:uncategorized【默认分类:未分类】 category_map: tag_map:【分类/标签地图,必要性不大】
# 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【时分秒】 ## Use post's date for updated date unless set in front-matter use_date_for_updated:false