hugo
Tags: Computers
{{< katex display>}} {{< /katex >}}
- Quickstart - https://gohugo.io/getting-started/quick-start/
Themes:
Hugo Theme Demo Features
Code
import os
os.print("test")
Buttons
{{< button relref="/" class="…" >}}Get Home{{< /button >}} {{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}}
Columns
{{< columns >}} <!– begin columns block –>
Lorem markdownum insigne…
<—> <!– magic sparator, between columns –>
Lorem markdownum insigne…
<—> <!– magic sparator, between columns –>
Lorem markdownum insigne… {{< /columns >}}
Expand
{{< expand “Custom Label” “…” >}} ## Markdown content Lorem markdownum insigne… {{< /expand >}}
Hints
{{< hint danger >}} Markdown content Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa {{< /hint >}}
Katex
\( f^* = p - \frac{q}{b} = \frac{bp-q}{b} = \frac{bp-(1-p)}{b} = \frac{p(b+1) - 1}{b}\)
Mermaid
{{< mermaid class=“text-center”>}} sequenceDiagram Alice->>Bob: Hello Bob, how are you? alt is sick Bob->>Alice: Not so good :( else is well Bob->>Alice: Feeling fresh like a daisy end opt Extra response Bob->>Alice: Thanks for asking end {{< /mermaid >}}
Tabs
{{< tabs “uniqueid” >}} {{< tab “MacOS” >}} # MacOS Content {{< /tab >}} {{< tab “Linux” >}} # Linux Content {{< /tab >}} {{< tab “Windows” >}} # Windows Content {{< /tab >}} {{< /tabs >}}