2016-03-19 01:11:52 +00:00
|
|
|
# Hexo Configuration
|
|
|
|
## Docs: http://hexo.io/docs/configuration.html
|
|
|
|
## Source: https://github.com/hexojs/hexo/
|
|
|
|
|
|
|
|
# Site
|
|
|
|
title: Icarus
|
|
|
|
subtitle:
|
|
|
|
description: Hexo theme - Icarus
|
|
|
|
author: PPOffice
|
|
|
|
language: en
|
|
|
|
timezone:
|
|
|
|
|
|
|
|
# URL
|
|
|
|
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
|
2019-12-20 23:33:32 +00:00
|
|
|
url: http://blog.zhangruipeng.me/hexo-theme-icarus/
|
2016-03-19 01:11:52 +00:00
|
|
|
root: /hexo-theme-icarus/
|
2018-10-24 04:22:46 +00:00
|
|
|
permalink: :category/:post_title/
|
2016-03-19 01:11:52 +00:00
|
|
|
permalink_defaults:
|
|
|
|
|
|
|
|
# Directory
|
|
|
|
source_dir: source
|
|
|
|
public_dir: public
|
|
|
|
tag_dir: tags
|
|
|
|
archive_dir: archives
|
|
|
|
category_dir: categories
|
|
|
|
code_dir: downloads/code
|
|
|
|
i18n_dir: :lang
|
|
|
|
skip_render:
|
|
|
|
|
|
|
|
# Writing
|
|
|
|
new_post_name: :title.md # File name of new posts
|
|
|
|
default_layout: post
|
|
|
|
titlecase: false # Transform title into titlecase
|
2019-10-30 16:33:34 +00:00
|
|
|
external_link: # Open external links in new tab
|
|
|
|
enable: true
|
|
|
|
field: post
|
2016-03-19 01:11:52 +00:00
|
|
|
filename_case: 0
|
|
|
|
render_drafts: false
|
2020-04-05 01:54:59 +00:00
|
|
|
post_asset_folder: true
|
2016-03-19 01:11:52 +00:00
|
|
|
relative_link: false
|
|
|
|
future: true
|
|
|
|
highlight:
|
|
|
|
enable: true
|
|
|
|
line_number: true
|
|
|
|
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
|
2020-08-16 04:20:18 +00:00
|
|
|
updated_option: 'empty'
|
2016-03-19 01:11:52 +00:00
|
|
|
|
|
|
|
# Pagination
|
|
|
|
## Set per_page to 0 to disable pagination
|
2020-04-11 21:45:01 +00:00
|
|
|
per_page: 10
|
2016-03-19 01:11:52 +00:00
|
|
|
pagination_dir: page
|
|
|
|
|
2016-03-19 01:38:09 +00:00
|
|
|
index_generator:
|
2020-04-11 21:45:01 +00:00
|
|
|
per_page: 10
|
2016-03-19 01:38:09 +00:00
|
|
|
|
|
|
|
archive_generator:
|
2017-01-30 03:00:25 +00:00
|
|
|
per_page: 20
|
2016-03-19 01:38:09 +00:00
|
|
|
yearly: true
|
|
|
|
monthly: true
|
|
|
|
|
|
|
|
category_generator:
|
2020-04-11 21:45:01 +00:00
|
|
|
per_page: 10
|
2016-03-19 01:38:09 +00:00
|
|
|
|
|
|
|
tag_generator:
|
2020-04-11 21:45:01 +00:00
|
|
|
per_page: 10
|
2016-03-19 01:38:09 +00:00
|
|
|
|
2016-03-19 01:11:52 +00:00
|
|
|
# Extensions
|
|
|
|
## Plugins: https://github.com/hexojs/hexo/wiki/Plugins
|
|
|
|
## Themes: https://github.com/hexojs/hexo/wiki/Themes
|
|
|
|
theme: icarus
|
|
|
|
|
|
|
|
# Deployment
|
|
|
|
## Docs: http://hexo.io/docs/deployment.html
|
|
|
|
deploy:
|
|
|
|
type: git
|
2018-12-28 17:40:33 +00:00
|
|
|
repository: https://github.com/ppoffice/hexo-theme-icarus.git
|
2018-10-24 04:22:46 +00:00
|
|
|
branch: gh-pages
|
|
|
|
|
|
|
|
marked:
|
|
|
|
gfm: false
|
|
|
|
|
|
|
|
githubEmojis:
|
2018-11-11 22:41:45 +00:00
|
|
|
className: not-gallery-item
|
|
|
|
|
2020-03-12 16:13:52 +00:00
|
|
|
algolia:
|
2020-04-11 02:35:57 +00:00
|
|
|
applicationID: T0CJF4ZB1O
|
2020-05-06 03:49:33 +00:00
|
|
|
apiKey: bcbeb94d417749ab5c65b082fce32333
|
2020-04-11 02:35:57 +00:00
|
|
|
indexName: hexo-icarus
|