diff --git a/userguide/content/en/docs/adding-content/lookandfeel.md b/userguide/content/en/docs/adding-content/lookandfeel.md index 699724b0e4..45b4c7520c 100644 --- a/userguide/content/en/docs/adding-content/lookandfeel.md +++ b/userguide/content/en/docs/adding-content/lookandfeel.md @@ -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`: