Spaces:
Sleeping
Sleeping
Delete content
Browse files- content/_index.md +0 -8
- content/categories/example-category/_index.md +0 -10
- content/page/archives/index.md +0 -11
- content/page/links/index.md +0 -33
- content/page/search/index.md +0 -13
- content/post/hello-world/cover.jpg +0 -0
- content/post/hello-world/index.md +0 -20
- content/post/image-gallery/1.jpg +0 -0
- content/post/image-gallery/2.jpg +0 -0
- content/post/image-gallery/index.md +0 -22
- content/post/markdown-syntax/index.md +0 -150
- content/post/math-typesetting/index.md +0 -40
- content/post/shortcodes/cover.jpg +0 -0
- content/post/shortcodes/index.md +0 -14
content/_index.md
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
---
|
2 |
-
menu:
|
3 |
-
main:
|
4 |
-
name: Home
|
5 |
-
weight: 1
|
6 |
-
params:
|
7 |
-
icon: home
|
8 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/categories/example-category/_index.md
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Example Category
|
3 |
-
description: A description of this category
|
4 |
-
image:
|
5 |
-
|
6 |
-
# Badge style
|
7 |
-
style:
|
8 |
-
background: "#2a9d8f"
|
9 |
-
color: "#fff"
|
10 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/page/archives/index.md
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: "Archives"
|
3 |
-
date: 2022-03-06
|
4 |
-
layout: "archives"
|
5 |
-
slug: "archives"
|
6 |
-
menu:
|
7 |
-
main:
|
8 |
-
weight: 2
|
9 |
-
params:
|
10 |
-
icon: archives
|
11 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/page/links/index.md
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Links
|
3 |
-
links:
|
4 |
-
- title: GitHub
|
5 |
-
description: GitHub is the world's largest software development platform.
|
6 |
-
website: https://github.com
|
7 |
-
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
|
8 |
-
menu:
|
9 |
-
main:
|
10 |
-
weight: 4
|
11 |
-
params:
|
12 |
-
icon: link
|
13 |
-
|
14 |
-
comments: false
|
15 |
-
---
|
16 |
-
|
17 |
-
To use this feature, add `links` section to frontmatter.
|
18 |
-
|
19 |
-
This page's frontmatter:
|
20 |
-
|
21 |
-
```yaml
|
22 |
-
links:
|
23 |
-
- title: GitHub
|
24 |
-
description: GitHub is the world's largest software development platform.
|
25 |
-
website: https://github.com
|
26 |
-
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
|
27 |
-
- title: TypeScript
|
28 |
-
description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
|
29 |
-
website: https://www.typescriptlang.org
|
30 |
-
image: ts-logo-128.jpg
|
31 |
-
```
|
32 |
-
|
33 |
-
`image` field accepts both local and external images.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/page/search/index.md
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: "Search"
|
3 |
-
slug: "search"
|
4 |
-
layout: "search"
|
5 |
-
outputs:
|
6 |
-
- html
|
7 |
-
- json
|
8 |
-
menu:
|
9 |
-
main:
|
10 |
-
weight: 3
|
11 |
-
params:
|
12 |
-
icon: search
|
13 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/post/hello-world/cover.jpg
DELETED
Binary file (56 kB)
|
|
content/post/hello-world/index.md
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Hello World
|
3 |
-
description: Welcome to Hugo Theme Stack
|
4 |
-
slug: hello-world
|
5 |
-
date: 2022-03-06 00:00:00+0000
|
6 |
-
image: cover.jpg
|
7 |
-
categories:
|
8 |
-
- Example Category
|
9 |
-
tags:
|
10 |
-
- Example Tag
|
11 |
-
weight: 1 # You can add weight to some posts to override the default sorting (date descending)
|
12 |
-
---
|
13 |
-
|
14 |
-
Welcome to Hugo theme Stack. This is your first post. Edit or delete it, then start writing!
|
15 |
-
|
16 |
-
For more information about this theme, check the documentation: https://stack.jimmycai.com/
|
17 |
-
|
18 |
-
Want a site like this? Check out [hugo-theme-stack-stater](https://github.com/CaiJimmy/hugo-theme-stack-starter)
|
19 |
-
|
20 |
-
> Photo by [Pawel Czerwinski](https://unsplash.com/@pawel_czerwinski) on [Unsplash](https://unsplash.com/)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/post/image-gallery/1.jpg
DELETED
Binary file (14.6 kB)
|
|
content/post/image-gallery/2.jpg
DELETED
Binary file (37.5 kB)
|
|
content/post/image-gallery/index.md
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Image gallery
|
3 |
-
description: Create beautiful interactive image gallery using Markdown
|
4 |
-
date: 2023-08-26 00:00:00+0000
|
5 |
-
image: 2.jpg
|
6 |
-
---
|
7 |
-
|
8 |
-
Hugo theme Stack supports the creation of interactive image galleries using Markdown. It's powered by [PhotoSwipe](https://photoswipe.com/) and its syntax was inspired by [Typlog](https://typlog.com/).
|
9 |
-
|
10 |
-
To use this feature, the image must be in the same directory as the Markdown file, as it uses Hugo's page bundle feature to read the dimensions of the image. **External images are not supported.**
|
11 |
-
|
12 |
-
## Syntax
|
13 |
-
|
14 |
-
```markdown
|
15 |
-
 
|
16 |
-
```
|
17 |
-
|
18 |
-
## Result
|
19 |
-
|
20 |
-
 
|
21 |
-
|
22 |
-
> Photo by [mymind](https://unsplash.com/@mymind) and [Luke Chesser](https://unsplash.com/@lukechesser) on [Unsplash](https://unsplash.com/)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/post/markdown-syntax/index.md
DELETED
@@ -1,150 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Markdown Syntax Guide
|
3 |
-
date: 2023-09-07
|
4 |
-
description: Sample article showcasing basic Markdown syntax and formatting for HTML elements.
|
5 |
-
tags:
|
6 |
-
- markdown
|
7 |
-
- css
|
8 |
-
- html
|
9 |
-
- themes
|
10 |
-
categories:
|
11 |
-
- themes
|
12 |
-
- syntax
|
13 |
-
---
|
14 |
-
|
15 |
-
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.
|
16 |
-
|
17 |
-
<!--more-->
|
18 |
-
|
19 |
-
## Headings
|
20 |
-
|
21 |
-
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
|
22 |
-
|
23 |
-
# H1
|
24 |
-
## H2
|
25 |
-
### H3
|
26 |
-
#### H4
|
27 |
-
##### H5
|
28 |
-
###### H6
|
29 |
-
|
30 |
-
## Paragraph
|
31 |
-
|
32 |
-
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.
|
33 |
-
|
34 |
-
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
35 |
-
|
36 |
-
## Blockquotes
|
37 |
-
|
38 |
-
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.
|
39 |
-
|
40 |
-
### Blockquote without attribution
|
41 |
-
|
42 |
-
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
43 |
-
> **Note** that you can use *Markdown syntax* within a blockquote.
|
44 |
-
|
45 |
-
### Blockquote with attribution
|
46 |
-
|
47 |
-
> Don't communicate by sharing memory, share memory by communicating.<br>
|
48 |
-
> — <cite>Rob Pike[^1]</cite>
|
49 |
-
|
50 |
-
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
51 |
-
|
52 |
-
## Tables
|
53 |
-
|
54 |
-
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
55 |
-
|
56 |
-
Name | Age
|
57 |
-
--------|------
|
58 |
-
Bob | 27
|
59 |
-
Alice | 23
|
60 |
-
|
61 |
-
### Inline Markdown within tables
|
62 |
-
|
63 |
-
| Italics | Bold | Code |
|
64 |
-
| -------- | -------- | ------ |
|
65 |
-
| *italics* | **bold** | `code` |
|
66 |
-
|
67 |
-
| A | B | C | D | E | F |
|
68 |
-
|----------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|------------------------------------------------------------|----------------------------------------------------------------------|
|
69 |
-
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. | Phasellus ultricies, sapien non euismod aliquam, dui ligula tincidunt odio, at accumsan nulla sapien eget ex. | Proin eleifend dictum ipsum, non euismod ipsum pulvinar et. Vivamus sollicitudin, quam in pulvinar aliquam, metus elit pretium purus | Proin sit amet velit nec enim imperdiet vehicula. | Ut bibendum vestibulum quam, eu egestas turpis gravida nec | Sed scelerisque nec turpis vel viverra. Vivamus vitae pretium sapien |
|
70 |
-
|
71 |
-
## Code Blocks
|
72 |
-
### Code block with backticks
|
73 |
-
|
74 |
-
```html
|
75 |
-
<!doctype html>
|
76 |
-
<html lang="en">
|
77 |
-
<head>
|
78 |
-
<meta charset="utf-8">
|
79 |
-
<title>Example HTML5 Document</title>
|
80 |
-
</head>
|
81 |
-
<body>
|
82 |
-
<p>Test</p>
|
83 |
-
</body>
|
84 |
-
</html>
|
85 |
-
```
|
86 |
-
|
87 |
-
### Code block indented with four spaces
|
88 |
-
|
89 |
-
<!doctype html>
|
90 |
-
<html lang="en">
|
91 |
-
<head>
|
92 |
-
<meta charset="utf-8">
|
93 |
-
<title>Example HTML5 Document</title>
|
94 |
-
</head>
|
95 |
-
<body>
|
96 |
-
<p>Test</p>
|
97 |
-
</body>
|
98 |
-
</html>
|
99 |
-
|
100 |
-
### Diff code block
|
101 |
-
|
102 |
-
```diff
|
103 |
-
[dependencies.bevy]
|
104 |
-
git = "https://github.com/bevyengine/bevy"
|
105 |
-
rev = "11f52b8c72fc3a568e8bb4a4cd1f3eb025ac2e13"
|
106 |
-
- features = ["dynamic"]
|
107 |
-
+ features = ["jpeg", "dynamic"]
|
108 |
-
```
|
109 |
-
|
110 |
-
### One line code block
|
111 |
-
|
112 |
-
```html
|
113 |
-
<p>A paragraph</p>
|
114 |
-
```
|
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>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>Delete</kbd> to end the session.
|
149 |
-
|
150 |
-
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/post/math-typesetting/index.md
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Math Typesetting
|
3 |
-
description: Math typesetting using KaTeX
|
4 |
-
date: 2023-08-24 00:00:00+0000
|
5 |
-
math: true
|
6 |
-
---
|
7 |
-
|
8 |
-
Stack has built-in support for math typesetting using [KaTeX](https://katex.org/).
|
9 |
-
|
10 |
-
**It's not enabled by default side-wide,** but you can enable it for individual posts by adding `math: true` to the front matter. Or you can enable it side-wide by adding `math = true` to the `params.article` section in `config.toml`.
|
11 |
-
|
12 |
-
## Inline math
|
13 |
-
|
14 |
-
This is an inline mathematical expression: $\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…$
|
15 |
-
|
16 |
-
```markdown
|
17 |
-
$\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…$
|
18 |
-
```
|
19 |
-
|
20 |
-
## Block math
|
21 |
-
|
22 |
-
$$
|
23 |
-
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
24 |
-
$$
|
25 |
-
|
26 |
-
```markdown
|
27 |
-
$$
|
28 |
-
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
29 |
-
$$
|
30 |
-
```
|
31 |
-
|
32 |
-
$$
|
33 |
-
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
|
34 |
-
$$
|
35 |
-
|
36 |
-
```markdown
|
37 |
-
$$
|
38 |
-
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
|
39 |
-
$$
|
40 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
content/post/shortcodes/cover.jpg
DELETED
Binary file (12.9 kB)
|
|
content/post/shortcodes/index.md
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Shortcodes
|
3 |
-
description: Useful shortcodes that can be used in Markdown
|
4 |
-
date: 2023-08-25 00:00:00+0000
|
5 |
-
image: cover.jpg
|
6 |
-
---
|
7 |
-
|
8 |
-
For more details, check out the [documentation](https://stack.jimmycai.com/writing/shortcodes).
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
-----
|
13 |
-
|
14 |
-
> Photo by [Codioful](https://unsplash.com/@codioful) on [Unsplash](https://unsplash.com/photos/WDSN62Qdxuk)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|