主题
---- 补充配置项(官网全部配置,按需取消注释启用) ----------
description: 文章摘要/描述,默认 null。
未设置时自动截取正文前 100 个字符作为摘要,用于卡片、SEO 等场景。
description: 本文介绍如何打造专属的 VS Code 现代化开发环境
sidebar: 是否显示右侧侧边栏,默认 true。
sidebar: true
article: 是否为文章页,默认 true。
设为 false 时按普通页面渲染(不显示作者、时间等文章特有元素)。
article: true
comment: 是否显示评论区,默认 true。
comment: true
articleBanner: 是否显示文章页顶部 Banner(封面图横幅),默认 true。
articleBanner: true
coverBgColor: 文章 Banner 背景色,自定义 Banner 背景,默认 null。
coverBgColor: "#2f4f4f"
inCatalogue: 是否纳入目录页(TkCataloguePage),默认 true。
inCatalogue: true
docAnalysis: 是否开启文档分析(字数、阅读时长统计),默认 true。
docAnalysis: true
inHomePost: 是否在首页文章列表中展示,默认 true。
inHomePost: true
articleUpdate: 是否显示文章底部"最近更新"栏,默认 true。
articleUpdate: true
autoTitle: 是否自动在正文添加与 title 相同的一级标题,默认 true。
autoTitle: true
sidebarSort: 侧边栏排序,数字越小越靠前,默认 9999。
sidebarSort: 1
sidebarPrefix: 侧边栏标题前缀,可为标题添加文字标记。
sidebarPrefix: "🔧"
sidebarSuffix: 侧边栏标题后缀。
sidebarSuffix: ""
layout: 页面布局,可选值:
- TkArchivesPage → 归档页
- TkCataloguePage → 目录页
- TkArticleOverviewPage → 文章总览页
- page → 普通页面(默认)
layout: page
---------- 本页面当前生效的配置 ----------
title: 文章标题,支持 HTML / Vue 组件写法,如 "Hello World"。
title: Visual Studio Code
date: 创建时间,格式 YYYY-MM-DD HH:mm:ss,用于侧边栏和文章列表排序。
date: 2025-03-06 01:24:35
permalink: 永久链接,固定页面的访问 URL,默认由文件路径自动生成。
permalink: /demo/demo1
titleTag: 标题标记,显示在文章标题旁的文字(如"原创"、"转载")。
titleTag: 开发工具
categories: 文章分类,数组形式,用于侧边栏分组和分类页展示。
categories:
- 开发工具
- 工具
tags: 文章标签,数组形式,用于标签聚合展示。
tags:
- 开发工具
- 工具
top: 是否设为精选文章,true 时展示在网站首页"精选文章"模块,默认 false。
top: true
sticky: 置顶权重,数字越大越靠前;true/false 也可控制是否置顶。
sticky: 10
coverImg: 封面图 URL,用于文章 Banner、首页卡片、分享图等,默认 null。
coverImg: https://vp.teek.top/blog/bg2.webp


