123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- 'use strict';
- module.exports = {
- // Site
- title: 'Hexo',
- subtitle: '',
- description: '',
- author: 'John Doe',
- language: 'en',
- timezone: '',
- // URL
- url: 'http://example.com',
- root: '/',
- permalink: ':year/:month/:day/:title/',
- permalink_defaults: {},
- pretty_urls: {
- trailing_index: true,
- trailing_html: true
- },
- // 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',
- default_layout: 'post',
- titlecase: false,
- external_link: {
- enable: true,
- field: 'site',
- exclude: ''
- },
- filename_case: 0,
- render_drafts: false,
- post_asset_folder: false,
- relative_link: false,
- future: true,
- highlight: {
- enable: true,
- auto_detect: false,
- line_number: true,
- tab_replace: '',
- wrap: true,
- hljs: false
- },
- prismjs: {
- enable: false,
- preprocess: true,
- line_number: true,
- tab_replace: ''
- },
- // Category & Tag
- default_category: 'uncategorized',
- category_map: {},
- tag_map: {},
- // Date / Time format
- date_format: 'YYYY-MM-DD',
- time_format: 'HH:mm:ss',
- updated_option: 'mtime',
- // * mtime: file modification date (default)
- // * date: use_date_for_updated
- // * empty: no more update
- // Pagination
- per_page: 10,
- pagination_dir: 'page',
- // Extensions
- theme: 'landscape',
- server: {
- cache: false
- },
- // Deployment
- deploy: {},
- // ignore files from processing
- ignore: [],
- // Category & Tag
- meta_generator: true
- };
|