--- title: General Configuration createTime: 2025/10/09 20:01:09 permalink: /en/config/frontmatter/basic/ --- ## Overview General Frontmatter configuration applicable to all articles. Example: ```md --- title: Title createTime: 2024/03/02 20:01:09 permalink: /config/frontmatter/basic/ --- ``` ## Configuration ### pageLayout - Type: `false | 'home' | 'doc' | 'custom' | 'page' | 'friends' | string` - Default: `doc` - Details: Page layout mode. - `'home'`: Homepage layout - `'doc'`: Documentation page layout, including left sidebar, article content, right sidebar, navbar, comments, etc. - `'page'`: Includes only the navbar and MD file content. Use this layout for custom page content. - `'friends'`: Friends link page layout - `'custom'`: Includes only MD file content. Use this layout for fully custom page content. - `false`: Equivalent to `custom` - `string`: A global component name can be passed, which will be applied as the layout component. ### pageClass - Type: `string` - Default: `''` - Details: Additional custom CSS class name for the page. ### title - Type: `string` - Default: `''` - Details: Article title. The theme automatically populates the current filename as the article title upon file creation. ### badge - Type: `string | { text: string, type?: 'info' | 'tip' | 'warning' | 'danger' }` Display a badge on the right side of the article title. ### createTime - Type: `string` - Default: `''` - Details: Article creation time. The theme automatically populates the current time as the article creation time upon file creation. ### permalink - Type: `string` - Default: `''` - Details: Article permanent link. Upon file creation, the theme automatically populates: - For blog-type articles: `/article/` + `8-character random string generated by nanoid` as the permanent link. - For articles under the notes directory: The permanent link is automatically populated based on the notes configuration. ### externalLinkIcon - Type: `boolean` - Default: `true` - Details: Whether to display the external link icon for external links within the current article. ### backToTop - Type: `boolean` - Default: `true` - Details: Whether to display the back-to-top button for the current article. ### comments - Type: `boolean` - Default: `true` - Details: Whether the current article is commentable. Only takes effect when the comment feature is enabled. ### aside - Type: `boolean | 'left'` - Default: `true` - Details: Whether to display the right sidebar for the current article. When set to `'left'`, the right sidebar will be displayed on the left side. ### navbar - Type: `boolean` - Default: `true` - Details: Whether to display the navigation bar for the current article. ### outline - Type: `false | number | [number, number] | 'deep'` - Default: `[2, 3]` - Details: The heading levels to display. A single number indicates displaying only headings of that level. If a tuple is passed, the first number is the minimum level and the second number is the maximum level. `'deep'` is the same as `[2, 6]`, which displays all headings from `