config
Source:
hexo.io/docs
Site Url
permalink: forevery url, :year/:month/:day/:title/
subdir: If site is in subdirectory blog, setup:
- url: http://example.com/blog
- root: /blog/
Directory
code_dir: /source/downloads/code
i18n_dir: /source/:lang
skip_render: only skip render, still copy to public, not ignore.
1 | skip_render: "mypage/**/*" # dir and subdir |
Writing
render_drafts: false
post_asset_folder: false
relative_links: false # /hello.html, not http://example.com/hello.html
Include/Exclude
- include
- exclude
- ignore
1 | ignore |
Commands
hexo new draft title | ignore test
hexo new page –path mydir/filename “titlename”
hexo list tag
hexo s –debug
Github Pages
a