Skip to content

Commit

Permalink
Actually, this isn't hugo config, dropping the tabbed pane!
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Aug 7, 2024
1 parent 7b1dfd9 commit 7270fa1
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions userguide/content/en/docs/adding-content/lookandfeel.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,19 +545,9 @@ be added to the class attribute of your page's body element.
To add the classes `myclass` and `anotherclass`, add the following line to the
front matter of the page:

<!-- prettier-ignore -->
{{< tabpane >}}
{{< tab header="Front matter :" disabled=true />}}
{{< tab header="hugo.toml" lang="toml" >}}
body_class = "myclass anotherclass"
{{< /tab >}}
{{< tab header="hugo.yaml" lang="yaml" >}}
body_class : myclass anotherclass
{{< /tab >}}
{{< tab header="hugo.json" lang="json" >}}
"body_class" : "myclass anotherclass"
{{< /tab >}}
{{< /tabpane >}}
```yaml
body_class: myclass anotherclass
```
The page's opening body tag will look like this (assuming it is a section page):
Expand Down

0 comments on commit 7270fa1

Please sign in to comment.