From a55111a20e17995364e5148fac7beae0f955b1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 19 Sep 2023 07:35:16 +0200 Subject: [PATCH] docs: clarification #639 --- exampleSite/content/basics/topbar/_index.en.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/basics/topbar/_index.en.md b/exampleSite/content/basics/topbar/_index.en.md index 27b0e611cd..1d6c4b2f40 100644 --- a/exampleSite/content/basics/topbar/_index.en.md +++ b/exampleSite/content/basics/topbar/_index.en.md @@ -122,6 +122,8 @@ Contains the basic functionality to display area overlay buttons ([`layouts/part Call this from your own button templates if you want to implement a button with an overlay area like the _more_ button ([`layouts/partials/topbar/button/more.html`](https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/more.html)). +#### Parameter + | Name | Default | Notes | |-----------------------|-----------------|-------------| | **page** | _<empty>_ | Mandatory reference to the page. | @@ -137,7 +139,7 @@ Call this from your own button templates if you want to implement a button with The predefined buttons by the theme (all other buttons besides the _more_ and _toc_ button in [`layouts/partials/topbar/button`](https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button)). -Call these from your own redefined area templates if you want to offer some of the default button behavior. +Call these from your own redefined area templates if you want to use default button behavior. | Name | Default | Notes | |-----------------------|-------------------|-------------| @@ -150,7 +152,9 @@ Call these from your own redefined area templates if you want to offer some of t The predefined buttons by the theme that open an overlay (the _more_ and _toc_ button in [`layouts/partials/topbar/button`](https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button)). -Call these from your own redefined area templates if you want to offer some of the default area button behavior. +Call these from your own redefined area templates if you want to use default button behavior utilizing overlay functionality. + +#### Parameter | Name | Default | Notes | |-----------------------|-------------------|-------------|