# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url: http://woodenrobot.me # 博客网址 root: / 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: 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
# --------------------------------------------------------------- # Site Information Settings # ---------------------------------------------------------------
# Place your favicon.ico to /source directory. favicon: /favicon.ico
# Set default keywords (Use a comma to separate) keywords: "woodenrobot"
# Set rss to false to disable feed link. # Leave rss as empty to use site's feed link. # Set rss to specific value if you have burned your feed already. rss: /atom.xml #此处需要安装插件npm install hexo-generator-feed --save
# Specify the date when the site was setup since: 2016
# --------------------------------------------------------------- # Menu Settings # ---------------------------------------------------------------
# When running hexo in a subdirectory (e.g. domain.tld/blog) # Remove leading slashes ( "/archives" -> "archives" ) menu: home: / #主页 categories: /categories #分类页(需手动创建) 教程请往下看! about: /about #关于页面(需手动创建) archives: /archives #归档页 tags: /tags #标签页(需手动创建) #commonweal: /404.html #公益 404 (需手动创建)
# Enable/Disable menu icons. # Icon Mapping: # Map a menu item to a specific FontAwesome icon name. # Key is the name of menu item and value is the name of FontAwsome icon. # When an question mask icon presenting up means that the item has no mapping icon. menu_icons: enable: true # Icon Mapping. home: home about: user categories: th tags: tags archives: archive commonweal: heartbeat
# Sidebar Avatar # in theme directory(source/images): /images/avatar.jpg # in site directory(source/uploads): /uploads/avatar.jpg # default : /images/default_avatar.jpg avatar: /uploads/avatar.jpg # 此处为侧边栏里的头像可以放入图片链接,也可将图片放入站点文件的source/uploads中(没有请在source中新建uploads)或者放入theme文件的source/images中。
# TOC in the Sidebar toc: enable: true
# Automatically add list number to toc. number: true
# Creative Commons 4.0 International License. # http://creativecommons.org/ # Available: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero #creative_commons: by-nc-sa #creative_commons:
sidebar: # 此处应为侧边栏左右位置,但并无什么作用,乱选无用或有bug。 # Sidebar Position, available value: left | right position: left #position: right
# Sidebar Display, available value: # - post expand on posts automatically. Default. # - always expand for all pages automatically # - hide expand only when click on the sidebar toggle icon. # - remove Totally remove sidebar including sidebar toggle icon. #display: post display: always #display: hide #display: remove
# Custom Logo. # !!Only available for Default Scheme currently. # Options: # enabled: [true/false] - Replace with specific image # image: url-of-image - Images's url custom_logo: enabled: false image:
# Code Highlight theme # Available value: # normal | night | night eighties | night blue | night bright # https://github.com/chriskempson/tomorrow-theme highlight_theme: normal
# Automatically scroll page to section which is under <!-- more --> mark. scroll_to_more: true
# --------------------------------------------------------------- # Third Party Services Settings # ---------------------------------------------------------------
# MathJax Support mathjax:
# Swiftype Search API Key # 站内搜素,教程请看往下看! swiftype_key: TChYnQxfabLwWxErgM-L
# Google Webmaster tools verification setting # See: https://www.google.com/webmasters/ #google_site_verification:
# Google Analytics #google_analytics:
# Make duoshuo show UA # user_id must NOT be null when admin_enable is true! # you can visit http://dev.duoshuo.com get duoshuo user id. duoshuo_info: ua_enable: true admin_enable: false user_id: 0 #admin_nickname: ROOT
# Show number of visitors to each article. # You can visit https://leancloud.cn get AppID and AppKey. leancloud_visitors: enable: false app_id: #<app_id> app_key: #<app_key>
# Tencent analytics ID # tencent_analytics:
#! --------------------------------------------------------------- #! DO NOT EDIT THE FOLLOWING SETTINGS #! UNLESS YOU KNOW WHAT YOU ARE DOING #! ---------------------------------------------------------------