# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' #填自己的github pages网址 url:http://yourname.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 trailing_html:true# Set to false to remove trailing '.html' from permalinks
# Writing new_post_name::title.md# File name of new posts default_layout:post titlecase:false# Transform title into titlecase external_link: enable:true# Open external links in new tab field:site# Apply to the whole site exclude:'' filename_case:0 render_drafts:false post_asset_folder:false#发布图片需要改为true,后面有说明 relative_link:false future:true highlight: enable:true line_number:true auto_detect:true tab_replace:'' wrap:true hljs:false
# 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
# Pagination ## Set per_page to 0 to disable pagination per_page:10 pagination_dir:page
# Include / Exclude file(s) ## include:/exclude: options only apply to the 'source/' folder include: exclude: ignore:
# Version of the Icarus theme that is currently used version:2.6.0 # Path or URL to the website's icon favicon:/images/favicon.svg # Additional HTML meta tags in an array. meta: # canonical_url of your site canonical_url: # language # Path or URL to RSS atom.xml rss: # Path or URL to the website's logo to be shown on the left of the navigation bar or footer logo:/images/logo.svg # Open Graph metadata # https://hexo.io/docs/helpers.html#open-graph open_graph: # Facebook App ID fb_app_id: # Facebook Admin ID fb_admins: # Twitter ID twitter_id: # Twitter site twitter_site: # Google+ profile link google_plus: # Navigation bar link settings navbar: # Navigation bar menu links menu: 主页:/ 归档:/archives 分类:/categories 标签:/tags 关于:/about # Navigation bar links to be shown on the right links: Download on GitHub: icon:fabfa-github url:'https://github.com/ppoffice/hexo-theme-icarus' # Footer section link settings footer: # Links to be shown on the right of the footer section links: Creative Commons: icon:fabfa-creative-commons url:'https://creativecommons.org/' Attribution 4.0 International: icon:fabfa-creative-commons-by url:'https://creativecommons.org/licenses/by/4.0/' Download on GitHub: icon:fabfa-github url:'https://github.com/yourname' # Article display settings article: # Code highlight settings highlight: # Code highlight themes # https://github.com/highlightjs/highlight.js/tree/master/src/styles theme:atom-one-light # Show code copying button clipboard:true # Default folding status of the code blocks. Can be "", "folded", "unfolded" fold:unfolded # Whether to show article thumbnail images thumbnail:true # Whether to show estimate article reading time readtime:true # Search plugin settings # https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Search search: # Name of the search plugin type:insight # Comment plugin settings # https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment comment: # Name of the comment plugin type:valine enable:true app_id:xxx app_key:xxx notify:false verify:false avatar:"mm" placeholder:要不要说点啥... shortname: # Donation entries # https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Donation donate: - # Donation entry name type:alipay # Qrcode image URL支付宝二维码 qrcode:'/images/xxx.jpg' - # Donation entry name type:wechat # Qrcode image URL微信二维码 qrcode:'/images/xxx.jpg' # Share plugin settings # https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Share share: # Share plugin name type:sharejs # Sidebar settings. # Please be noted that a sidebar is only visible when it has at least one widget sidebar: # left sidebar settings left: # Whether the left sidebar is sticky when page scrolls # https://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/make-a-sidebar-sticky-when-page-scrolls/ sticky:false # right sidebar settings right: # Whether the right sidebar is sticky when page scrolls # https://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/make-a-sidebar-sticky-when-page-scrolls/ sticky:false # Sidebar widget settings # https://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/ widgets: - # Widget name type:profile # Where should the widget be placed, left or right position:left # Author name to be shown in the profile widget author:姓名 # Title of the author to be shown in the profile widget author_title:Java软件开发工程师 # Author's current location to be shown in the profile widget location:陕西西安 # Path or URL to the avatar to be shown in the profile widget avatar:/images/fh.jpg # Email address for the Gravatar to be shown in the profile widget gravatar: # Whether to show avatar image rounded or square avatar_rounded:false # Path or URL for the follow button follow_link:'https://github.com/yourname' # Links to be shown on the bottom of the profile widget social_links: Github: icon:fabfa-github url:'https://github.com/yourname' Facebook: icon:fabfa-facebook url:'https://facebook.com' Twitter: icon:fabfa-twitter url:'https://twitter.com' Dribbble: icon:fabfa-dribbble url:'https://dribbble.com' RSS: icon:fasfa-rss url:/ - # Widget name type:toc # Where should the widget be placed, left or right position:left - # Widget name type:links # Where should the widget be placed, left or right position:left # Links to be shown in the links widget links: Hexo:'https://hexo.io' PPOffice:'https://github.com/ppoffice' - # Widget name type:category # Where should the widget be placed, left or right position:left - # Widget name type:tagcloud # Where should the widget be placed, left or right position:left - # Widget name type:recent_posts # Where should the widget be placed, left or right position:right - # Widget name type:archive # Where should the widget be placed, left or right position:right - # Widget name type:tag # Where should the widget be placed, left or right position:right # Other plugin settings plugins: # Enable page animations animejs:true # Enable the lightGallery and Justified Gallery plugins # https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/gallery-plugin/ gallery:true # Enable the Outdated Browser plugin # http://outdatedbrowser.com/ outdated-browser:true # Enable the MathJax plugin # https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/mathjax-plugin/ mathjax:true # Show the back to top button on mobile devices back-to-top:true # Google Analytics plugin settings # https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Google-Analytics google-analytics: # Google Analytics tracking id tracking_id: # Baidu Analytics plugin settings # https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Baidu-Analytics baidu-analytics: # Baidu Analytics tracking id tracking_id: # Hotjar user feedback plugin # https://ppoffice.github.io/hexo-theme-icarus/Plugins/General/site-analytics-plugin/#Hotjar hotjar: # Hotjar site id site_id: # Show a loading progress bar at top of the page progressbar:true # BuSuanZi site/page view counter # https://busuanzi.ibruce.info busuanzi:true busuanzi: enable:true # CDN provider settings # https://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/ # Show PV/UV of the website/page with busuanzi. # Get more information on http://ibruce.info/2015/04/04/busuanzi/ busuanzi_count: # count values only if the other configs are false enable:true # custom uv span for the whole site site_uv:true site_uv_header:访客数 site_uv_footer:人 # custom pv span for the whole site site_pv:true site_pv_header:总访问量 site_pv_footer:次 # custom pv span for one page only page_pv:true page_pv_header:<iclass="fafa-file-o"></i>阅读数 page_pv_footer: # CDN provider settings # https://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/ providers: # Name or URL of the JavaScript and/or stylesheet CDN provider cdn:jsdelivr # Name or URL of the webfont CDN provider fontcdn:google # Name or URL of the webfont Icon CDN provider iconcdn:fontawesome