# Site title:Fan() subtitle: description: author:adba'sblog language:zh-CN timezone:Asia/Shanghai
# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url:http://yoursite.com root:/Fandb.github.io permalink::year/:month/:day/:title/ permalink_defaults:
# 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 future:true highlight: enable:true line_number:true auto_detect:true tab_replace:
# 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:6 order_by:-date
# 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
# Site title: Fan() subtitle: description: author: a dba's blog language: zh-CN timezone: Asia/Shanghai
此处控制
language设置为zh-CN,否则会产生问题,比如会显示成法文
timezone: Asia/Shanghai 没啥可解释的了
writing
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# 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 future:true highlight: enable:true line_number:true auto_detect:true tab_replace:
# --------------------------------------------------------------- # Site Information Settings # ---------------------------------------------------------------
# Set default keywords (Use a comma to separate) keywords:""
# Put your favicon.ico or avatar.jpg into `hexo-site/themes/hiker/source/` directory. avatar: enable:true border:true width:124 height:124 top:0 url:css/images/mylogo.jpeg
# Social Links # Key is the name of FontAwsome icon. # Value is the target link (E.g. GitHub: https://github.com/iTimeTraveler) social: Github:https://github.com/Fanduzi Weibo:http://weibo.com/1278787855/profile?topnav=1&wvr=6 Twitter:https://twitter.com/FanAshic Facebook: Google-plus: Instagram: Pinterest: Flickr: email:18501341937@163.com
# Search search: insight:true# you need to install `hexo-generator-json-content` before using Insight Search swiftype:# enter swiftype install key here baidu:false# you need to disable other search engines to use Baidu search, options: true, false
# comment ShortName, you can choose only ONE to display. gentie_productKey:#your-gentie-product-key duoshuo_shortname: disqus_shortname: livere_shortname:MTAyMC8yOTQ4MS82MDQ5 uyan_uid: wumii:
# Code Highlight theme # Available value: # default | normal | night | night eighties | night blue | night bright # https://github.com/chriskempson/tomorrow-theme highlight_theme:default
# Article theme color # Available value: # random | orange | blue | red | green | black theme_color:random
# display widgets at the bottom of index pages (pagination == 2) index_widgets: -category -tagcloud -archive
TiM@TiMdeMacBook-Pro ~/Documents/myblog/source/tags more index.md --- title: Tagcloud date: 2017-08-04 23:06:48 type: "tags" --- # [MySQL](https://fanduzi.github.io/Fandb.github.io/tags/MySQL/) - [PMM](https://fanduzi.github.io/Fandb.github.io/tags/PMM/) - [MHA](https://fanduzi.github.io/Fandb.github.io/tags/MHA/) - [Sysbench](https://fanduzi.github.io/Fandb.github.io/tags/Sysbench/) TiM@TiMdeMacBook-Pro ~/Documents/myblog/source/tags cd .. TiM@TiMdeMacBook-Pro ~/Documents/myblog/source cd about TiM@TiMdeMacBook-Pro ~/Documents/myblog/source/about more index.md --- title: about date: 2017-08-04 22:40:02 --- About Me 一个菜<U+1F413>dba
自定义title图片
1 2 3 4 5 6 7 8
# Put your favicon.ico or avatar.jpg into `hexo-site/themes/hiker/source/` directory. avatar: enable:true border:true width:124 height:124 top:0 url:css/images/mylogo.jpeg
# Search search: insight:true# you need to install `hexo-generator-json-content` before using Insight Search swiftype:# enter swiftype install key here baidu:false# you need to disable other search engines to use Baidu search, options: true, false
要安装
1 2
cd myblog npm install hexo-generator-json-contentsave