Restructure exampleSite once again, improve sections and flow

This commit is contained in:
Alex Shpak
2026-05-19 11:22:59 +02:00
parent 9ab28a9b36
commit 118c5354bb
34 changed files with 245 additions and 275 deletions
@@ -0,0 +1,36 @@
# Tabs
Organize content by context, for example installation instructions for each supported platform.
## Syntax
```tpl
{{</* tabs */>}}
{{%/* tab "First" */%}} Markdown content {{%/* /tab */%}}
{{%/* tab "Second" */%}} Markdown content {{%/* /tab */%}}
{{</* /tabs */>}}
```
## Example
{{< tabs >}}
{{% tab "macOS" %}}
```shell
brew install hugo
```
{{% /tab %}}
{{% tab "Linux" %}}
```shell
sudo snap install hugo
```
{{% /tab %}}
{{% tab "Windows" %}}
```shell
choco install hugo-extended
```
{{% /tab %}}
{{< /tabs >}}