Skip to content

Commit

Permalink
Adds documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fekete-robert committed May 17, 2023
1 parent 14e3a37 commit c8c91a3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions userguide/content/en/docs/adding-content/lookandfeel.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,33 @@ of the following:
[wordmark]: https://en.wikipedia.org/wiki/Wordmark
[your logo]: /docs/adding-content/iconsimages/#add-your-logo

### Adding a call-to-action

You can include a call-to-action, like a sign-up or download button to the right side of the navbar.

1. In your Hugo configuration file, set the `navbar_cta` parameter to true.

{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
{{< tab header="hugo.toml" lang="toml" >}}
[params]
navbar_cta = true
{{< /tab >}}
{{< tab header="hugo.yaml" lang="yaml" >}}
params:
navbar_cta: true
{{< /tab >}}
{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"navbar_cta": true
}
}
{{< /tab >}}
{{< /tabpane >}}

1. Add the `layouts/partials/navbar-cta.html` file to your project and customize it as needed.

## Tables

Docsy applies the following styles to all tables, through the class `.td-table`:
Expand Down

0 comments on commit c8c91a3

Please sign in to comment.