import{$ as e,B as t,P as n,_ as r,f as i,g as a,h as o,l as s}from"./runtime-core.esm-bundler-CZvn3YaB.js";import{t as c}from"./plugin-vue_export-helper-CxTVcLa7.js";var l=JSON.parse(`{"path":"/config/frontmatter/basic/","title":"通用配置 | 配置","lang":"zh-CN","frontmatter":{"title":"通用配置","createTime":"2024/03/02 20:01:09","permalink":"/config/frontmatter/basic/","description":"概述 通用 Frontmatter 配置,适用于 所有的文章。 示例: 配置 pageLayout 类型: false | 'home' | 'doc' | 'custom' | 'page' | 'friends' | string 默认值: doc 详情: 页面布局方式。 'home': 主页布局 'doc': 文章页布局,包括左侧侧边栏、文章内容...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"通用配置\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-11-25T17:13:24.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://theme-plume.vuejs.press/config/frontmatter/basic/"}],["meta",{"property":"og:site_name","content":"Plume 主题"}],["meta",{"property":"og:title","content":"通用配置"}],["meta",{"property":"og:description","content":"概述 通用 Frontmatter 配置,适用于 所有的文章。 示例: 配置 pageLayout 类型: false | 'home' | 'doc' | 'custom' | 'page' | 'friends' | string 默认值: doc 详情: 页面布局方式。 'home': 主页布局 'doc': 文章页布局,包括左侧侧边栏、文章内容..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2025-11-25T17:13:24.000Z"}],["meta",{"property":"article:modified_time","content":"2025-11-25T17:13:24.000Z"}],["link",{"rel":"alternate","hreflang":"en-us","href":"https://theme-plume.vuejs.press/en/config/frontmatter/basic/"}]]},"readingTime":{"minutes":4.38,"words":1314},"git":{"createdTime":1709915848000,"updatedTime":1764090804000,"contributors":[{"name":"pengzhanbo","username":"pengzhanbo","email":"volodymyr@foxmail.com","commits":17,"avatar":"https://avatars.githubusercontent.com/pengzhanbo?v=4","url":"https://github.com/pengzhanbo"},{"name":"huyunan","username":"huyunan","email":"40879024+huyunan@users.noreply.github.com","commits":1,"avatar":"https://avatars.githubusercontent.com/huyunan?v=4","url":"https://github.com/huyunan"},{"name":"wb_huyunan","username":"","email":"wb_huyunan@kuaishou.com","commits":1,"avatar":"https://gravatar.com/avatar/f448c9a8b2f313f1a1d90ad2f933ae2cf1827baa8252471a921f37d360ee9d91?d=retro"}],"changelog":[{"hash":"fc3676d6dcb89ab4f175c8e54d3b61697e0f9233","time":1764090804000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme): add support for {data-outline=\\"level\\"} attribute syntax for headings, close #757 (#759)"},{"hash":"ddb77a06a5bea91593d797ee307fcf2f115dd60b","time":1763644166000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme): add footer frontmatter"},{"hash":"4d2361a7046214fe0f4e4af01831107fd00e38ad","time":1759849989000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme)!: add collections support (#704)"},{"hash":"bb30b51a9b9eb9d0f990e1836751c663e29c6753","time":1758355213000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"docs: update docs"},{"hash":"5cbf0ddfcf54bad54476f398760120e387ea387b","time":1758352763000,"email":"40879024+huyunan@users.noreply.github.com","author":"huyunan","message":"feat(theme): add signdown frontmatter for home page (#691)","coAuthors":[{"name":"wb_huyunan","email":"wb_huyunan@kuaishou.com"}]},{"hash":"73ed8dc9c544be19318db4e36379f08c4a91a39b","time":1745034035000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme): add badge support for navbar and sidebar (#559)"},{"hash":"0fd6cac57412002f4d72dc10378789b529adc357","time":1742063370000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"refactor(theme): improve types and flat config (#524)"},{"hash":"6e037dcdc04aaeae17b9b759bd4fb5551ebe808e","time":1732103537000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme): add support for article copyright (#345)"},{"hash":"08a2d6107f91573ee84a701b682fac4d0e3c58f4","time":1731039445000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme): add changelog and improve contributors, close #319 (#329)"},{"hash":"b99d926c0b02deeb07c482c272f2139e89c0fbe7","time":1726425349000,"email":"volodymyr@foxmail.com","author":"pengzhanbo","message":"feat(theme): add page title badge (#183)"}]},"autoDesc":true,"filePathRelative":"config/frontmatter/basic.md","headers":[],"bulletin":false}`),u={name:`basic.md`};function d(c,l,u,d,f,p){let m=t(`VPLink`);return n(),i(`div`,null,[l[13]||=o(`

概述

通用 Frontmatter 配置,适用于 所有的文章。

示例:

---
title: 标题
createTime: 2024/03/02 20:01:09
permalink: /config/frontmatter/basic/
---

配置

pageLayout

pageClass

title

badge

在文章标题右侧显示 徽章。

createTime

externalLinkIcon

backToTop

comments

aside

outline

小技巧

在 markdown 内容的 标题后面,使用属性语法 {data-outline="level"} / {outline="level"}, 可以重新设置当前标题的后代标题的显示的最大级别。

例如:

## 标题 1 {data-outline="5"} <!-- 仅影响当前标题后代标题 -->

### 三级标题
#### 四级标题
##### 五级标题 <!-- 三四五级标题将显示在侧边栏 -->
###### 六级标题 <!-- 此标题不会显示在侧边栏 -->

## 标题 2 <!-- 同级别的标题不受影响 -->

### 三级标题 <!-- 默认仅显示到三级标题 -->
#### 四级标题 <!-- 四级标题不显示 -->

需要注意的是, level 的值应该大于当前标题的级别,否则不会生效。

prev

next

readingTime

lastUpdated

contributors

`,40),s(`ul`,null,[l[5]||=s(`li`,null,[s(`p`,null,[a(`类型: `),s(`code`,null,`boolean`)])],-1),l[6]||=s(`li`,null,[s(`p`,null,[a(`默认值: `),s(`code`,null,`true | string | string[]`)])],-1),s(`li`,null,[l[2]||=s(`p`,null,`详情:`,-1),l[3]||=s(`p`,null,`当前文章是否 显示 贡献者。 贡献者 根据 git 提交者自动填充。`,-1),l[4]||=s(`p`,null,`如果您的文章来源于第三方, git 提交不能完整列出所有的作者,您可以在此处补充贡献者。`,-1),s(`p`,null,[l[1]||=a(`额外信息补充请查看 `,-1),r(m,{href:`../../guide/features/contributors.md#info`},{default:e(()=>[...l[0]||=[a(`contributors`,-1)]]),_:1})])])]),l[14]||=o(`

changelog

`,3),s(`ul`,null,[l[11]||=s(`li`,null,[s(`p`,null,[a(`类型: `),s(`code`,null,`boolean | CopyrightLicense | CopyrightFrontmatter`)])],-1),l[12]||=s(`li`,null,[s(`p`,null,[a(`默认值: `),s(`code`,null,`false`)])],-1),s(`li`,null,[l[9]||=s(`p`,null,`详情:`,-1),l[10]||=s(`p`,null,`当前文章是否 显示 版权信息。`,-1),s(`p`,null,[l[8]||=a(`完整信息请查看 `,-1),r(m,{href:`../../guide/features/copyright.md`},{default:e(()=>[...l[7]||=[a(`copyright`,-1)]]),_:1})])])]),l[15]||=o(`

watermark

`,6)])}var f=c(u,[[`render`,d]]);export{l as _pageData,f as default};