Variable defaultSiteOptionsConst

defaultSiteOptions: {
    archive_dir: string;
    author: string;
    category_dir: string;
    category_map: {};
    code_dir: string;
    date_format: string;
    default_category: string;
    default_layout: string;
    deploy: {};
    description: string;
    external_link: {
        enable: boolean;
        exclude: string;
        field: string;
    };
    filename_case: number;
    future: boolean;
    generator: {
        amp: boolean;
        cache: boolean;
        type: string;
        verbose: boolean;
    };
    highlight: {
        auto_detect: boolean;
        exclude_languages: any[];
        hljs: boolean;
        language_attr: boolean;
        line_number: boolean;
        tab_replace: string;
        wrap: boolean;
    };
    i18n_dir: string;
    ignore: any[];
    language: string;
    meta_generator: boolean;
    new_post_name: string;
    pagination_dir: string;
    per_page: number;
    permalink: string;
    permalink_defaults: {};
    post_asset_folder: boolean;
    post_dir: string;
    pretty_urls: {
        trailing_html: boolean;
        trailing_index: boolean;
    };
    prismjs: {
        line_number: boolean;
        preprocess: boolean;
        tab_replace: string;
    };
    public_dir: string;
    relative_link: boolean;
    render_drafts: boolean;
    root: string;
    server: {
        cache: boolean;
    };
    skip_render: any[];
    source_dir: string;
    subtitle: string;
    syntax_highlighter: string;
    tag_dir: string;
    tag_map: {};
    theme: string;
    time_format: string;
    timezone: string;
    title: string;
    titlecase: boolean;
    updated_option: string;
    url: string;
} = ...

Type declaration

  • archive_dir: string
  • author: string
  • category_dir: string
  • category_map: {}
    • code_dir: string
    • date_format: string

      Date / Time format

    • default_category: string

      Category & Tag

    • default_layout: string
    • deploy: {}

      Deployment

      • description: string
      • external_link: {
            enable: boolean;
            exclude: string;
            field: string;
        }
        • enable: boolean
        • exclude: string
        • field: string
      • filename_case: number
      • future: boolean
      • generator: {
            amp: boolean;
            cache: boolean;
            type: string;
            verbose: boolean;
        }

        hexo-post-parser cache indicator

        • amp: boolean
        • cache: boolean
        • type: string
        • verbose: boolean
      • highlight: {
            auto_detect: boolean;
            exclude_languages: any[];
            hljs: boolean;
            language_attr: boolean;
            line_number: boolean;
            tab_replace: string;
            wrap: boolean;
        }
        • auto_detect: boolean
        • exclude_languages: any[]
        • hljs: boolean
        • language_attr: boolean
        • line_number: boolean
        • tab_replace: string
        • wrap: boolean
      • i18n_dir: string
      • ignore: any[]

        ignore files from processing

      • language: string
      • meta_generator: boolean

        Category & Tag

      • new_post_name: string

        Writing

      • pagination_dir: string
      • per_page: number
        • mtime: file modification date (default)
        • empty: no more update Pagination
      • permalink: string
      • permalink_defaults: {}
        • post_asset_folder: boolean
        • post_dir: string

          static-blog-generator source post

        • pretty_urls: {
              trailing_html: boolean;
              trailing_index: boolean;
          }
          • trailing_html: boolean
          • trailing_index: boolean
        • prismjs: {
              line_number: boolean;
              preprocess: boolean;
              tab_replace: string;
          }
          • line_number: boolean
          • preprocess: boolean
          • tab_replace: string
        • public_dir: string
        • relative_link: boolean
        • render_drafts: boolean
        • root: string
        • server: {
              cache: boolean;
          }
          • cache: boolean
        • skip_render: any[]
        • source_dir: string

          Directory

        • subtitle: string
        • syntax_highlighter: string
        • tag_dir: string
        • tag_map: {}
          • theme: string

            Extensions

          • time_format: string
          • timezone: string
          • title: string

            Site

          • titlecase: boolean
          • updated_option: string
          • url: string

            URL