minearm-website 0.0.3-beta.2 → 0.0.3-beta.3

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.
package/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # Minearm & Website
2
- # 本主题是从HusBlog改进而来的
3
- url: https://github.com/KraHsu/HsuBlog.git
2
+ # 本主题是从[HusBlog](https://github.com/KraHsu/HsuBlog.git)改进而来的
4
3
 
4
+ 但是Minearm & Website做出了很大的改变,比如修复了scss警告和升级astro版本到4.16.13
5
+
6
+ # 效果
7
+ ![Minearm](https://portal.astro.build/_image?href=https%3A%2F%2Fstorage.googleapis.com%2Fdev-portal-bucket%2Fkotpt1ztaalrk5frua5pnwdvoh185ylgg0rio9.webp)
5
8
 
6
9
  # 文件结构
7
10
 
@@ -41,6 +44,11 @@ root
41
44
  └─utils
42
45
  ```
43
46
 
47
+ ~~~bash
48
+ # 安装主题
49
+ npm i minearm-website
50
+ ~~~
51
+
44
52
  ~~~
45
53
  # 安装依赖
46
54
  npm install
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "minearm-website",
3
3
  "description": "Welcome to Minearm & Website.",
4
- "version": "0.0.3-beta.2",
4
+ "version": "0.0.3-beta.3",
5
5
  "homepage": "https://github.com/Minearm-RPM/minearm",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  "markdown-loader": "^8.0.0",
36
36
  "marked": "^15.0.0",
37
37
  "mdast-util-to-string": "^4.0.0",
38
- "pnpm": "^9.13.2",
38
+ "pnpm": "^9.14.2",
39
39
  "reading-time": "^1.5.0",
40
40
  "rehype-katex": "7.0.1",
41
41
  "rehype-mathjax": "6.0.0",
@@ -59,6 +59,5 @@
59
59
  "withastro"
60
60
  ],
61
61
  "main": "index.js",
62
- "author": "",
63
- "license": "ISC"
62
+ "author": ""
64
63
  }
@@ -1,4 +1,4 @@
1
1
  {
2
- "totalWordCounts": 116400,
3
- "totalPostCounts": 11
2
+ "totalWordCounts": 900,
3
+ "totalPostCounts": 2
4
4
  }
Binary file
@@ -1,6 +1,5 @@
1
1
  import { defineCollection, z } from "astro:content";
2
2
  import { utils } from "@utils/utils";
3
-
4
3
  const blogCollection = defineCollection({
5
4
  schema: z.object({
6
5
  title: z.string(),
@@ -7,81 +7,75 @@ useComments: true
7
7
  useToc: true
8
8
  ---
9
9
  # Minearm & Website
10
- Minearm是一个astro主题
11
- # 本主题是从HusBlog改进而来的
12
- url: https://github.com/KraHsu/HsuBlog.git
13
10
 
14
- 成品: www.minearm.org
11
+ # 本主题是从[HusBlog](https://github.com/KraHsu/HsuBlog.git)改进而来的
12
+
13
+ 但是Minearm & Website做出了很大的改变,比如修复了scss警告和升级astro版本到4.16.13
14
+
15
+ # 效果
16
+ ![Minearm](https://portal.astro.build/_image?href=https%3A%2F%2Fstorage.googleapis.com%2Fdev-portal-bucket%2Fkotpt1ztaalrk5frua5pnwdvoh185ylgg0rio9.webp)
15
17
 
16
18
  # 文件结构
17
19
 
18
20
  ```bash
19
- root@rsp4:/Minearm# tree -d
20
- .
21
- ├── public
22
- │ └── scripts
23
- └── src
24
- ├── components
25
- ├── animation
26
- ├── aside
27
- ├── client
28
- ├── footer
29
- ├── header
30
- ├── icons
31
- ├── loading
32
- │ └── postlist
33
- ├── content
34
- └── blog
35
- │ └── default
36
- │ ├── history
37
- │ ├── 公元前
38
- │ └── 近代篇
39
- └── it
40
- ├── layouts
41
- ├── pages
42
- ├── about
43
- ├── blog
44
- │ ├── categories
45
- │ └── [category]
46
- ├── friends
47
- └── tags
48
- └── [tag]
49
- ├── styles
50
- ├── blog
51
- │ │ └── dist
52
- │ ├── components
53
- │ │ └── dist
54
- │ ├── dist
55
- │ └── tags
56
- └── utils
57
-
21
+ root
22
+ ├─public
23
+ │ └─scripts
24
+ └─src
25
+ ├─components
26
+ │ ├─animation
27
+ ├─aside
28
+ ├─client
29
+ ├─footer
30
+ ├─header
31
+ ├─icons
32
+ ├─loading
33
+ └─postlist
34
+ ├─content
35
+ │ └─blog
36
+ └─default
37
+ ├─layouts
38
+ ├─pages
39
+ ├─about
40
+ ├─blog
41
+ ├─categories
42
+ │ │ └─[category]
43
+ │ ├─friends
44
+ └─tags
45
+ └─[tag]
46
+ ├─styles
47
+ ├─blog
48
+ │ └─dist
49
+ ├─components
50
+ │ └─dist
51
+ │ ├─dist
52
+ └─tags
53
+ └─utils
58
54
  ```
59
55
 
60
56
  ~~~bash
61
- # 拉取minearm
62
- git clone https://github.com/Minearm-RPM/minearm.git
63
-
57
+ # 安装主题
58
+ npm i minearm-website
64
59
  ~~~
65
60
 
66
- ~~~bash
61
+ ~~~
67
62
  # 安装依赖
68
63
  npm install
69
- # 后续更新
64
+ # 更新
70
65
  npm update
71
66
  ~~~
72
67
 
73
- ~~~bash
68
+ ~~~
74
69
  # 启动开发预览
75
70
  npm run dev
76
71
  ~~~
77
72
 
78
- ~~~bash
73
+ ~~~
79
74
  # 构建和预览
80
75
  npm run build
81
76
  npm run preview
82
77
  ~~~
83
78
 
84
-
85
79
  # 许可证
86
80
  本项目在MIT许可证下授权,版权所有©2024
87
81