
A demo post to show the features of a post page in Hugo Theme Dream.
View https://hugo-theme-dream.g1en.site/post-page for more details.
Alerts
注意 Useful information that users should know, even when skimming content.
提示 Helpful advice for doing things better or more easily.
重要 Key information users need to know to achieve their goal.
警告 Urgent info that needs immediate user attention to avoid problems.
小心 Advises about risks or negative outcomes of certain actions.
Custom Alert Title
Hello The default alert title is changed to “Hello”.
Mermaid Diagrams
A simple flowchart
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
Complex sequence diagram with zoom
sequenceDiagram
participant API@{ "type": "boundary", "alias": "Public API" }
participant Auth@{ "type": "control", "alias": "Auth Service" }
participant DB@{ "type": "database", "alias": "User Database" }
API->>Auth: Login request
Auth->>DB: Query user
DB-->>Auth: User data
Auth-->>API: Access token
Mathematics
This is an inline \(a^*=x-b^*\) equation. (\(a^*=x-b^*\))
This is also an inline $a^*=x-b^*$ equation. ($a^*=x-b^*$)
These are block equations:
\[ \begin{aligned} KL(\hat{y} || y) &= \sum_{c=1}^{M}\hat{y}_c \log{\frac{\hat{y}_c}{y_c}} \\ JS(\hat{y} || y) &= \frac{1}{2}(KL(y||\frac{y+\hat{y}}{2}) + KL(\hat{y}||\frac{y+\hat{y}}{2})) \end{aligned} \]These are also block equations:
$$a^*=x-b^*$$$$ a^*=x-b^* $$