@sugarat/create-theme 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,10 +20,24 @@ const blogTheme = getThemeConfig({
20
20
  // 开启RSS支持
21
21
  // RSS,
22
22
 
23
+ // 搜索
23
24
  // 默认开启pagefind离线的全文搜索支持(如使用其它的可以设置为false)
24
25
  // 如果npx pagefind 时间过长,可以手动将其安装为项目依赖 pnpm add pagefind
25
26
  // search: false,
26
27
 
28
+ // 页脚
29
+ footer: {
30
+ // message: '下面 的内容和图标都是可以修改的噢(当然本条内容也是可以隐藏的)',
31
+ copyright: 'MIT License | 粥里有勺糖',
32
+ // icpRecord: {
33
+ // name: '蜀ICP备19011724号',
34
+ // link: 'https://beian.miit.gov.cn/'
35
+ // },
36
+ // securityRecord: {
37
+ // name: '公网安备xxxxx',
38
+ // link: 'https://www.beian.gov.cn/portal/index.do'
39
+ // },
40
+ },
27
41
  // 主题色修改
28
42
  themeColor: 'el-blue',
29
43
 
@@ -18,11 +18,6 @@ export default defineConfig({
18
18
  lastUpdated: true,
19
19
  themeConfig: {
20
20
  lastUpdatedText: '上次更新于',
21
- footer: {
22
- message: '自定义底部内容',
23
- copyright:
24
- 'MIT Licensed | <a target="_blank" href="https://theme.sugarat.top/"> @sugarat/theme </a>'
25
- },
26
21
  logo: '/logo.png',
27
22
  // editLink: {
28
23
  // pattern:
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@element-plus/icons-vue": "^2.1.0",
14
- "@sugarat/theme": "^0.1.50",
14
+ "@sugarat/theme": "^0.2.1",
15
15
  "element-plus": "^2.3.8",
16
16
  "vue": "^3.3.4"
17
17
  },
@@ -21,6 +21,6 @@
21
21
  "devDependencies": {
22
22
  "sass": "^1.64.1",
23
23
  "typescript": "^5.1.6",
24
- "vitepress": "1.0.0-rc.14"
24
+ "vitepress": "1.0.0-rc.17"
25
25
  }
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sugarat/create-theme",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "简约风的 Vitepress 博客主题,sugarat vitepress blog theme",
5
5
  "author": "粥里有勺糖",
6
6
  "license": "MIT",