Skip to content

Commit 127ee9a

Browse files
committed
add
1 parent c6140fa commit 127ee9a

File tree

204 files changed

+13464
-23
lines changed

Some content is hidden

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

204 files changed

+13464
-23
lines changed

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ params:
4343
src: img/avatar.png
4444

4545
article:
46-
math: false
46+
math: true
4747
toc: true
4848
readingTime: true
4949
license:

content/about.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: About
3+
description: Hugo, the world's fastest framework for building websites
4+
date: '2019-02-28'
5+
aliases:
6+
- about-us
7+
- about-hugo
8+
- contact
9+
license: CC BY-NC-ND
10+
lastmod: '2020-10-09'
11+
menu:
12+
main:
13+
weight: -90
14+
pre: user
15+
---
16+
17+
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
18+
19+
Hugo makes use of a variety of open source projects including:
20+
21+
* https://github.com/yuin/goldmark
22+
* https://github.com/alecthomas/chroma
23+
* https://github.com/muesli/smartcrop
24+
* https://github.com/spf13/cobra
25+
* https://github.com/spf13/viper
26+
27+
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.
28+
29+
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
30+
31+
Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
32+
33+
Learn more and contribute on [GitHub](https://github.com/gohugoio).

content/archives.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Archives"
3+
date: 2019-05-28
4+
layout: "archives"
5+
slug: "archives"
6+
menu:
7+
main:
8+
weight: -70
9+
pre: archives
10+
---
Loading

content/chinese-test/index.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Chinese Test
3+
description: 这是一个副标题
4+
date: 2020-09-09
5+
slug: test-chinese
6+
image: helena-hertz-wWZzXlDpMog-unsplash.jpg
7+
categories:
8+
- Test
9+
- 测试
10+
---
11+
12+
## 正文测试
13+
14+
而这些并不是完全重要,更加重要的问题是, 带着这些问题,我们来审视一下学生会退会。 既然如何, 对我个人而言,学生会退会不仅仅是一个重大的事件,还可能会改变我的人生。 我们不得不面对一个非常尴尬的事实,那就是, 可是,即使是这样,学生会退会的出现仍然代表了一定的意义。 学生会退会,发生了会如何,不发生又会如何。 经过上述讨论, 生活中,若学生会退会出现了,我们就不得不考虑它出现了的事实。 学生会退会,到底应该如何实现。 这样看来, 在这种困难的抉择下,本人思来想去,寝食难安。 对我个人而言,学生会退会不仅仅是一个重大的事件,还可能会改变我的人生。 就我个人来说,学生会退会对我的意义,不能不说非常重大。 莎士比亚曾经提到过,人的一生是短的,但如果卑劣地过这一生,就太长了。这似乎解答了我的疑惑。 莫扎特说过一句富有哲理的话,谁和我一样用功,谁就会和我一样成功。这启发了我, 对我个人而言,学生会退会不仅仅是一个重大的事件,还可能会改变我的人生。 学生会退会,到底应该如何实现。 一般来说, 从这个角度来看, 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。 在这种困难的抉择下,本人思来想去,寝食难安。 了解清楚学生会退会到底是一种怎么样的存在,是解决一切问题的关键。 一般来说, 生活中,若学生会退会出现了,我们就不得不考虑它出现了的事实。 问题的关键究竟为何? 而这些并不是完全重要,更加重要的问题是。
15+
16+
奥斯特洛夫斯基曾经说过,共同的事业,共同的斗争,可以使人们产生忍受一切的力量。 带着这句话,我们还要更加慎重的审视这个问题: 一般来讲,我们都必须务必慎重的考虑考虑。 既然如此, 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。 带着这些问题,我们来审视一下学生会退会。 我认为, 我认为, 在这种困难的抉择下,本人思来想去,寝食难安。 问题的关键究竟为何? 每个人都不得不面对这些问题。 在面对这种问题时, 要想清楚,学生会退会,到底是一种怎么样的存在。 我认为, 既然如此, 每个人都不得不面对这些问题。 在面对这种问题时, 那么, 我认为, 学生会退会因何而发生。
17+
18+
## 引用
19+
20+
> 思念是最暖的忧伤像一双翅膀
21+
> 让我停不了飞不远在过往游荡
22+
> 不告而别的你 就算为了我着想
23+
> 这么沉痛的呵护 我怎么能翱翔
24+
>
25+
> *[最暖的憂傷 - 田馥甄](https://www.youtube.com/watch?v=3aypp_YlBzI)*
26+
27+
## 图片
28+
29+
![Photo by Florian Klauer on Unsplash](florian-klauer-nptLmg6jqDo-unsplash.jpg) ![Photo by Luca Bravo on Unsplash](luca-bravo-alS7ewQ41M8-unsplash.jpg)
30+
31+
![Photo by Helena Hertz on Unsplash](helena-hertz-wWZzXlDpMog-unsplash.jpg) ![Photo by Hudai Gayiran on Unsplash](hudai-gayiran-3Od_VKcDEAA-unsplash.jpg)
32+
33+
```markdown
34+
![Photo by Florian Klauer on Unsplash](florian-klauer-nptLmg6jqDo-unsplash.jpg) ![Photo by Luca Bravo on Unsplash](luca-bravo-alS7ewQ41M8-unsplash.jpg)
35+
36+
![Photo by Helena Hertz on Unsplash](helena-hertz-wWZzXlDpMog-unsplash.jpg) ![Photo by Hudai Gayiran on Unsplash](hudai-gayiran-3Od_VKcDEAA-unsplash.jpg)
37+
```
38+
39+
相册语法来自 [Typlog](https://typlog.com/)
Loading

content/emoji-support/index.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
+++
2+
author = "Hugo Authors"
3+
title = "Emoji Support"
4+
date = "2019-03-05"
5+
description = "Guide to emoji usage in Hugo"
6+
categories = [
7+
"Test"
8+
]
9+
tags = [
10+
"emoji",
11+
]
12+
image = "the-creative-exchange-d2zvqp3fpro-unsplash.jpg"
13+
+++
14+
15+
Emoji can be enabled in a Hugo project in a number of ways.
16+
<!--more-->
17+
The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
18+
19+
To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
20+
21+
<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p>
22+
<br>
23+
24+
The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
25+
26+
***
27+
28+
**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.
29+
30+
{{< highlight html >}}
31+
.emoji {
32+
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
33+
}
34+
{{< /highlight >}}
35+
36+
{{< css.inline >}}
37+
<style>
38+
.emojify {
39+
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
40+
font-size: 2rem;
41+
vertical-align: middle;
42+
}
43+
@media screen and (max-width:650px) {
44+
.nowrap {
45+
display: block;
46+
margin: 25px 0;
47+
}
48+
}
49+
</style>
50+
{{< /css.inline >}}

content/hello.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: "Hello"
3-
date: 2021-09-08T23:05:30+08:00
4-
draft: true
3+
date: 2021-09-08T23:49:32+08:00
4+
draft: false
55
---
66

7-
# hello jam!
8-
7+
# hello jam

content/markdown-syntax/index.md

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
+++
2+
author = "Hugo Authors"
3+
title = "Markdown Syntax Guide"
4+
date = "2019-03-11"
5+
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
6+
tags = [
7+
"markdown",
8+
"css",
9+
"html",
10+
"themes",
11+
]
12+
categories = [
13+
"themes",
14+
"syntax",
15+
]
16+
series = ["Themes Guide"]
17+
aliases = ["migrate-from-jekyl"]
18+
image = "pawel-czerwinski-8uZPynIu-rQ-unsplash.jpg"
19+
+++
20+
21+
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
22+
<!--more-->
23+
24+
## Headings
25+
26+
The following HTML `<h1>``<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
27+
28+
# H1
29+
## H2
30+
### H3
31+
#### H4
32+
##### H5
33+
###### H6
34+
35+
## Paragraph
36+
37+
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
38+
39+
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
40+
41+
## Blockquotes
42+
43+
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
44+
45+
#### Blockquote without attribution
46+
47+
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
48+
> **Note** that you can use *Markdown syntax* within a blockquote.
49+
50+
#### Blockquote with attribution
51+
52+
> Don't communicate by sharing memory, share memory by communicating.<br>
53+
> — <cite>Rob Pike[^1]</cite>
54+
55+
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
56+
57+
## Tables
58+
59+
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
60+
61+
Name | Age
62+
--------|------
63+
Bob | 27
64+
Alice | 23
65+
66+
#### Inline Markdown within tables
67+
68+
| Italics | Bold | Code |
69+
| -------- | -------- | ------ |
70+
| *italics* | **bold** | `code` |
71+
72+
## Code Blocks
73+
74+
#### Code block with backticks
75+
76+
```html
77+
<!doctype html>
78+
<html lang="en">
79+
<head>
80+
<meta charset="utf-8">
81+
<title>Example HTML5 Document</title>
82+
</head>
83+
<body>
84+
<p>Test</p>
85+
</body>
86+
</html>
87+
```
88+
89+
#### Code block indented with four spaces
90+
91+
<!doctype html>
92+
<html lang="en">
93+
<head>
94+
<meta charset="utf-8">
95+
<title>Example HTML5 Document</title>
96+
</head>
97+
<body>
98+
<p>Test</p>
99+
</body>
100+
</html>
101+
102+
#### Code block with Hugo's internal highlight shortcode
103+
{{< highlight html >}}
104+
<!doctype html>
105+
<html lang="en">
106+
<head>
107+
<meta charset="utf-8">
108+
<title>Example HTML5 Document</title>
109+
</head>
110+
<body>
111+
<p>Test</p>
112+
</body>
113+
</html>
114+
{{< /highlight >}}
115+
116+
## List Types
117+
118+
#### Ordered List
119+
120+
1. First item
121+
2. Second item
122+
3. Third item
123+
124+
#### Unordered List
125+
126+
* List item
127+
* Another item
128+
* And another item
129+
130+
#### Nested list
131+
132+
* Fruit
133+
* Apple
134+
* Orange
135+
* Banana
136+
* Dairy
137+
* Milk
138+
* Cheese
139+
140+
## Other Elements — abbr, sub, sup, kbd, mark
141+
142+
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
143+
144+
H<sub>2</sub>O
145+
146+
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
147+
148+
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
149+
150+
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.

content/search.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Search"
3+
slug: "search"
4+
layout: "search"
5+
outputs:
6+
- html
7+
- json
8+
menu:
9+
main:
10+
weight: -60
11+
pre: search
12+
---

docs/404.html

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta property='og:description' content='Lorem ipsum dolor sit amet, consectetur adipiscing elit.'>
1010
<meta property='og:url' content='https://idzhiwei.github.io/404.html'>
1111
<meta property='og:site_name' content='知微'>
12-
<meta property='og:type' content='website'>
12+
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2020-09-09T00:00:00&#43;00:00 '/>
1313
<meta name="twitter:title" content="404 Page not found">
1414
<meta name="twitter:description" content="Lorem ipsum dolor sit amet, consectetur adipiscing elit.">
1515
</head>
@@ -89,6 +89,61 @@ <h2 class="site-description">Lorem ipsum dolor sit amet, consectetur adipiscing
8989
</a>
9090
</li>
9191

92+
93+
94+
<li >
95+
<a href='/about/' >
96+
97+
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-user" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
98+
<path stroke="none" d="M0 0h24v24H0z"/>
99+
<circle cx="12" cy="7" r="4" />
100+
<path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
101+
</svg>
102+
103+
104+
105+
106+
<span>About</span>
107+
</a>
108+
</li>
109+
110+
111+
112+
<li >
113+
<a href='/archives/' >
114+
115+
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-archive" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
116+
<path stroke="none" d="M0 0h24v24H0z"/>
117+
<rect x="3" y="4" width="18" height="4" rx="2" />
118+
<path d="M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10" />
119+
<line x1="10" y1="12" x2="14" y2="12" />
120+
</svg>
121+
122+
123+
124+
125+
<span>Archives</span>
126+
</a>
127+
</li>
128+
129+
130+
131+
<li >
132+
<a href='/search/' >
133+
134+
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-search" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
135+
<path stroke="none" d="M0 0h24v24H0z"/>
136+
<circle cx="10" cy="10" r="7" />
137+
<line x1="21" y1="21" x2="15" y2="15" />
138+
</svg>
139+
140+
141+
142+
143+
<span>Search</span>
144+
</a>
145+
</li>
146+
92147

93148

94149
<li id="dark-mode-toggle">

docs/about-hugo/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html><head><title>https://idzhiwei.github.io/about/</title><link rel="canonical" href="https://idzhiwei.github.io/about/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://idzhiwei.github.io/about/" /></head></html>

0 commit comments

Comments
 (0)