Frontmatter fields
Testing modified categories and tags testing
| meta | Description | Type | Value Logic | Version |
|---|---|---|---|---|
| title | Title | string |
- | Hugo Built-in |
| date | Article creation time | datetime |
- | Hugo Built-in |
| lastmod | Article last modified time | datetime |
- | Hugo Built-in |
| summary | Article summary | string |
- | Hugo Built-in |
| weight | Article weight, used for sorting/pinning | int |
- | Hugo Built-in |
| categories | Article categories | string[] |
- | 0.0.1 |
| tags | Article tags | string[] |
- | 0.0.1 |
| description | Article description | string |
- | 0.0.1 |
| mermaid | Whether to enable mermaid (requires configuration with mermaid settings) |
boolean |
false |
0.0.1 |
| math | Whether to enable LaTeX (requires configuration with math settings) |
boolean |
false |
0.0.1 |
| link | Directs the article to an external link | string |
- | 0.0.1 |
| copyright | Whether to enable article copyright notice | boolean |
Defaults to global config if not provided | 0.0.1 |
| sponsor | Whether to enable article sponsorship | boolean |
Defaults to global config if not provided | 0.0.1 |
| comments | Whether to enable article comments | boolean |
Defaults to global config if not provided | 0.0.1 |
| photos | Article photo gallery | string[] |
- | 0.0.1 |
| sidebar | Article sidebar position | false | 'left' | 'right' |
Defaults to global config if not provided | 0.5.0 |
| toc | Whether to enable article table of contents | boolean |
Defaults to global config if not provided | 0.7.0 |
| outdated | Whether the article is outdated | boolean |
Defaults to global config if not provided | 0.13.1 |
| author | Article author (used for article copyright and sharing cards) | string |
Defaults to global config if not provided | 0.13.2 |
| keywords | Article keywords for SEO | string[] | string |
Defaults to global config if not provided | 0.13.4 |
Checkboxes
- First
- second
- third
- forth nothing here
Lists
- first
- second
- third
- first
- second
- third
Block quotes
testing block quote
math inline $1+1=2$
math block
$$ \begin{align*} a_{11} &= b_{11} & a_{12} &= b_{12} \\ a_{21} &= b_{21} & a_{22} &= b_{22}+c_{22} \end{align*} $$useless H1
testing
I should just use H3 and hower inline code always, maybe H1 for packing?
Tables
| a | b | c |
|---|---|---|
| 1a | 1b | 1c |
| 2a | 2b | 2c |
mermaid
It needs to be in a code block with mermaid as the first line
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
pie title NETFLIX
"Time spent looking for movie" : 85
"Time spent watching it" : 10
"Testing new features": 5
External cards
Link title
Roulette
Alert block
Note
Your content here
Tip
Your content here
Warning
Your content here
Important
Your content here
Danger
Your content here
It is applicable to scenarios where Hugo v0.132.0 or lower cannot use Hugo Blockquote render hooks.
The first parameter is the type of block quote, with the following optional parameters: note, tip, important, warning, danger
Tabs
Lorem superscript dolor subscript amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. cite. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. NBA Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. AVE. Use Crtl + C to stop.
there is a acronym html element under NBA
- List Item 1
- List Item 2
- List Item 3
@font-face {
font-family: Chunkfive;
src: url("Chunkfive.otf");
}
body,
.usertext {
color: #f0f0f0;
background: #600;
font-family: Chunkfive, sans;
}
@import url(print.css);
@media print {
a[href^="http"]::after {
content: attr(href);
}
}
| Table Header 1 | Table Header 2 | Table Header 3 |
|---|---|---|
| Division 1 | Division 2 | Division 3 |
| Division 1 | Division 2 | Division 3 |
| Division 1 | Division 2 | Division 3 |
Then a table with elements that have markdown within the cells
| Markdown | Less | Pretty |
|---|---|---|
| Still | renders |
nicely |
| 1 | 2 | 3 |

Gallery
Grid
这是第一个网格单元,支持 Markdown 语法
- 列表项 1
- 列表项 2

这是第二个网格单元,支持 Markdown 语法
- 列表项 1
- 列表项 2

console.log('Hello Grid!');
console.log('Hello Grid!');
| 表头1 | 表头2 |
|---|---|
| 数据1 | 数据2 |
| 表头1 | 表头2 |
|---|---|
| 数据1 | 数据2 |
Foldable Pane
summary for this panel
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum
Detail
Why do we use it?
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ‘Content here, content here’, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for ’lorem ipsum’ will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
Where does it come from?
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.
Next header
what does h2 do here
testing
code block
Callouts
Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
Important
Key information users need to know to achieve their goal.
Warning
Urgent info that needs immediate user attention to avoid problems.
Caution
Advises about risks or negative outcomes of certain actions.
Code blocks
testing code block
Testing embeds
External embed
https://x.com/kamatsuka9672/status/1854850561566261347/photo/1

Leave a comment