Skip to content

Commit 09f1e6c

Browse files
committed
上传第一个文章
1 parent 8169cfb commit 09f1e6c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3187
-835
lines changed

config/_default/menus.zh-cn.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,19 @@
1010
# overridden by providing a weight value. The menu will then be
1111
# ordered by weight from lowest to highest.
1212

13+
[[main]]
14+
name = "文章"
15+
pageRef = "article"
16+
weight = 10
17+
1318
[[main]]
1419
name = "文档"
1520
pageRef = "docs"
1621
weight = 10
1722

1823
[[main]]
1924
name = "简码"
20-
pageRef = "docs/shortcodes"
25+
pageRef = "docs/another-project"
2126
weight = 15
2227

2328
[[main]]

content/article/_index.zh-cn.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title : "文章列表"
3+
description : "这里展示我的所以文章"
4+
cascade:
5+
showReadingTime: false
6+
---
7+
8+
目前这里没有任何内容
9+
10+
```java
11+
12+
public enum FlowComment {
13+
14+
/**
15+
* 说明
16+
*/
17+
NORMAL("1", "正常意见"), // 相当于 new FlowComment("1", "正常意见")
18+
REBACK("2", "退回意见"),
19+
REJECT("3", "驳回意见"),
20+
DELEGATE("4", "委派意见"),
21+
ASSIGN("5", "转办意见"),
22+
STOP("6", "终止流程");
23+
24+
/**
25+
* 类型
26+
*/
27+
private final String type;
28+
29+
/**
30+
* 说明
31+
*/
32+
private final String remark;
33+
34+
FlowComment(String type, String remark) {
35+
this.type = type;
36+
this.remark = remark;
37+
}
38+
39+
public String getType() {
40+
return type;
41+
}
42+
43+
public String getRemark() {
44+
return remark;
45+
}
46+
}
47+
48+
```

content/docs/_index.zh-cn.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "第一个项目"
3+
description: "了解我的一些项目。"
4+
cascade:
5+
showReadingTime: true
6+
---
7+
本节包含了我所有的当前项目。
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "项目"
3+
description: "了解我的一些项目。"
4+
cascade:
5+
showReadingTime: false
6+
---
7+
本节包含了我所有的当前项目。

content/docs/index.md

Whitespace-only changes.

content/docs/shortcodes/index.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

public/404.html

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<html lang="zh-cn" dir="ltr" class="scroll-smooth" data-default-appearance="dark"
3-
data-auto-appearance="true"><head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=3588&amp;path=livereload" data-no-instant defer></script>
3+
data-auto-appearance="true"><head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=6414&amp;path=livereload" data-no-instant defer></script>
44
<meta charset="utf-8" />
55

66
<meta http-equiv="content-language" content="zh-cn" />
@@ -15,7 +15,7 @@
1515

1616

1717

18-
<link rel="canonical" href="http://localhost:3588/404.html" />
18+
<link rel="canonical" href="http://localhost:6414/404.html" />
1919

2020

2121

@@ -67,7 +67,7 @@
6767

6868

6969

70-
<meta property="og:url" content="http://localhost:3588/404.html">
70+
<meta property="og:url" content="http://localhost:6414/404.html">
7171
<meta property="og:site_name" content="Blowfish">
7272
<meta property="og:title" content="404 Page not found">
7373
<meta property="og:description" content="一个强大、轻量级的 Hugo 主题。">
@@ -185,7 +185,7 @@
185185

186186
<a href="/docs/" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
187187

188-
<p class="text-base font-medium" title="">
188+
<p class="text-base font-medium" title="第一个项目">
189189
文档
190190
</p>
191191
</a>
@@ -194,9 +194,20 @@
194194

195195

196196

197-
<a href="" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
197+
<a href="/article/" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
198198

199199
<p class="text-base font-medium" title="">
200+
文章
201+
</p>
202+
</a>
203+
204+
205+
206+
207+
208+
<a href="/docs/another-project/" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
209+
210+
<p class="text-base font-medium" title="项目">
200211
简码
201212
</p>
202213
</a>
@@ -561,7 +572,7 @@
561572
<li class="mt-1">
562573
<a href="/docs/" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
563574

564-
<p class="text-bg font-bg" title="">
575+
<p class="text-bg font-bg" title="第一个项目">
565576
文档
566577
</p>
567578
</a>
@@ -574,9 +585,24 @@
574585

575586

576587
<li class="mt-1">
577-
<a href="" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
588+
<a href="/article/" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
578589

579590
<p class="text-bg font-bg" title="">
591+
文章
592+
</p>
593+
</a>
594+
</li>
595+
596+
597+
598+
599+
600+
601+
602+
<li class="mt-1">
603+
<a href="/docs/another-project/" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
604+
605+
<p class="text-bg font-bg" title="项目">
580606
简码
581607
</p>
582608
</a>
@@ -847,7 +873,7 @@ <h1 class="mb-3 text-4xl font-extrabold">找不到网页 😕</h1>
847873
<div
848874
id="search-wrapper"
849875
class="invisible fixed inset-0 flex h-screen w-screen cursor-default flex-col bg-neutral-500/50 p-4 backdrop-blur-sm dark:bg-neutral-900/50 sm:p-6 md:p-[10vh] lg:p-[12vh]"
850-
data-url="http://localhost:3588/"
876+
data-url="http://localhost:6414/"
851877
style="z-index:500"
852878
>
853879
<div

0 commit comments

Comments
 (0)