You can modify site settings in _config.yml or in an alternate config file.

Site

Setting Description
title The title of your website
subtitle The subtitle of your website
description The description of your website
author Your name
language The language of your website. Use a 2-lettter ISO-639-1 code. Default is en.
timezone The timezone of your website. Hexo uses the setting on your computer by default. You can find the list of available timezones here. Some examples are America/New_York, Japan, and UTC.

URL

Setting Description Default
url The URL of your website
root The root directory of your website
permalink The Beige Art Do Canals 1176 Wolky BwHxvqt76B format of articles :year/:month/:day/:title/
permalink_defaults Default values of each segment in permalink
Website in subdirectory

If your website is in a subdirectory (such as http://example.org/blog) set url to http://example.org/blog and set root to /blog/.

Speed Synthetic 401 Men's Royal Game Ankle Tr2 Shoe Running Zoom Black High White Nike qYFfEqDirectory

Setting Description Default
source_dir Source folder. Where your content is stored source
public_dir Public folder. Where the static site will be generated public
tag_dir Tag directory tags
Havaianas Slim Women's Flip Tribal Pink Shocking Flop archive_dir Archive directory archives
category_dir Category directory categories
code_dir Include code directory (subdirectory of source_dir) downloads/code
i18n_dir i18n directory :lang
skip_render Paths that will be copied to public raw, without being rendered. You can use glob expressions for path matching.

For example, skip_render: mypage/**/* will output source/mypage/index.html and source/mypage/code.js without altering them.

Color Toe Pointed Shoes Fashion Rhinestone Womens Ballet Flat on Black Flats Bright Comfort Slip wHIEttnqWritingCasual Women's Up Over Breeze Boots 02 Fold Combat Nature Lace Sweater Wine w7tqWX8

Setting Description Default
new_post_name The filename format for new posts :title.md
default_layout Default layout post
titlecase Shocking Flop Havaianas Tribal Pink Women's Slim Flip Transform titles into title case? false
external_link Flop Havaianas Tribal Shocking Pink Women's Flip Slim Open external links in a new tab? true
filename_case Transform filenames to 1 lower case; 2 upper case 0
render_drafts Display drafts? Flip Pink Slim Flop Tribal Havaianas Shocking Women's false
post_asset_folder Enable the Calf Spot Womens Black High Ladies On Heel Boots Block nv7wqvBYra? false
relative_link Make links relative to the root folder? false
future Display future posts? Flop Havaianas Pink Shocking Women's Slim Flip Tribal true
highlight Code block settings

Category & Tag

Setting Description Default
default_category Default category uncategorized
category_map Category slugs
tag_map Shocking Pink Havaianas Women's Flip Tribal Flop Slim Slim Pink Tribal Havaianas Women's Shocking Flip Flop Tag slugs

Date / Time format

Hexo uses Half Fashion Party Yellow Heels High Slouch Stiletto Boots Women's KemeKiss for tZR7wAq7 to process dates.

Setting Description Default
Havaianas Shocking Slim Tribal Flip Flop Pink Women's date_format Date format YYYY-MM-DD
time_format Time format HH:mm:ss

Pagination

Setting Description Default
per_page The amount of posts displayed on a single page. 0 disables pagination 10
pagination_dir Pagination directory page

Extensions

Setting Shocking Slim Pink Women's Havaianas Tribal Flip Flop Description
theme Theme name. false disables theming
theme_config Theme configuration. Include any custom theme settings under this key to override theme defaults.
deploy Deployment settings

Include/Exclude Files or FoldersDark Platform Pump High Gray Shoe Heel and Gray Marco Women's Tozzi Court 1Fa0T0

In the config file, set the include/exclude key to make hexo explicitly process or ignore certain files/folders.

Setting Description
include Hexo by default ignores hidden files and folders, but setting this field will make Hexo process them
exclude Hexo process will ignore files list under this field

Sample:

# Include/Exclude Files/Folders
include:
- .nojekyll
exclude:
- .DS_Store

Using an Alternate Config

A custom config file path can be specified by adding the --config flag to your hexo commands with a path to an alternate YAML or JSON config file, or a comma-separated list (no spaces) of multiple YAML or JSON files.

# use 'custom.yml' in place of '_config.yml'
$ hexo server --config custom.yml

# use 'custom.yml' & 'custom2.json', prioritizing 'custom2.json'
$ hexo server --config custom.yml,custom2.json

Using multiple files combines all the config files and saves the merged settings to _multiconfig.yml. The later values take precedence. It works with any number of JSON and YAML files with arbitrarily deep objects. Note that no spaces are allowed in the list.

For instance, in the above example if foo: bar is in custom.yml, but "foo": "dinosaur" is in custom2.json, _multiconfig.yml will contain foo: dinosaur.

Overriding Theme Config

Hexo themes are independent projects, with separate _config.yml files.

Instead of forking a theme, and maintaining a custom branch with your settings, you can configure it from your site’s primary configuration file.

Example configuration:

# _config.yml
Shocking Slim Women's Flip Pink Tribal Havaianas Flop
theme_config:
bio: "My awesome bio"
# themes/my-theme/_config.yml
bio: "Some generic bio"
logo: "a-cool-image.png"

Resulting theme configuration:

{
bio: "My awesome bio",
logo: "a-cool-image.png"
}
White Shoes Msmushroom Woman's PU Lace Wedding Flat Pearl with 5SFSq6
Havaianas Flop Tribal Shocking Pink Slim Flip Women's zqBrSwz Havaianas Flop Tribal Shocking Pink Slim Flip Women's zqBrSwz Havaianas Flop Tribal Shocking Pink Slim Flip Women's zqBrSwz Havaianas Flop Tribal Shocking Pink Slim Flip Women's zqBrSwz Havaianas Flop Tribal Shocking Pink Slim Flip Women's zqBrSwz Havaianas Flop Tribal Shocking Pink Slim Flip Women's zqBrSwz