diff --git a/exampleSite/content/_index.en.md b/exampleSite/content/_index.en.md
index 8ee1dae476..a74db871ad 100644
--- a/exampleSite/content/_index.en.md
+++ b/exampleSite/content/_index.en.md
@@ -69,7 +69,7 @@ To get support, feel free to open a new [discussion topic](https://github.com/Mc
## Contributions
-Feel free to contribute to this documentation by just clicking the {{% button style="transparent" icon="pen" %}}{{% /button %}} button displayed on top right of each page.
+Feel free to contribute to this documentation by just clicking the {{% button style="transparent" icon="pen" %}}{{% /button %}} _edit_ button displayed on top right of each page.
You are most welcome to contribute bugfixes or new features by making pull requests to the [official repository](https://github.com/McShelby/hugo-theme-relearn). Check the [contribution guidelines]({{%relref "dev/contributing" %}}) first before starting.
diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md
index fd01f64e39..baeb80f72d 100644
--- a/exampleSite/content/basics/migration/_index.en.md
+++ b/exampleSite/content/basics/migration/_index.en.md
@@ -20,9 +20,9 @@ This document shows you what's new in the latest release. For a detailed list of
## 5.21.0 (2023-09-03) {#5210}
-- {{% badge style="note" title=" " %}}Change{{% /badge %}} We made changes to the menu footer. If you have your `menu-footer.html` [partial overridden]({{%relref "basics/customization" %}}), you may have to review the styling (eg. margins/paddings) in your partial.
+- {{% badge style="note" title=" " %}}Change{{% /badge %}} We made changes to the menu footer improve alignment with the menu items in most cases. Care was taken not to break your existing overwritten footer. Anyways, if you have your `menu-footer.html` [partial overridden]({{%relref "basics/customization" %}}), you may want to review the styling (eg. margins/paddings) of your partial.
- This change was made to simplify common use cases. Care was taken not to break your existing overwritten footer.
+- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} This release comes with an awesome new feature, that allows you to customize your topbar buttons, change behavior, reorder them or define entirely new ones, unique to your installation. See [the documentation]({{%relref "basics/topbar" %}}) for further details.
---
diff --git a/exampleSite/content/basics/topbar/_index.en.md b/exampleSite/content/basics/topbar/_index.en.md
new file mode 100644
index 0000000000..eb46ba5d80
--- /dev/null
+++ b/exampleSite/content/basics/topbar/_index.en.md
@@ -0,0 +1,147 @@
++++
+title = "Topbar Modification"
+weight = 27
++++
+
+The theme comes with a reasonably configured topbar.
+
+![Topbar on mobile devices](topbar-closed.png)
+
+Nevertheless, your requirements may differ from this configuration. Luckily the theme got you covered as the themebar, its buttons and the functionality behind these buttons is fully configurable by you.
+
+## Areas
+
+The default configuration comes with three predefined areas that may contain an arbitrary set of buttons.
+
+![Topbar with default areas marked](topbar-areas.png)
+
+- **start**: shown between menu and breadcrumb
+- **end**: shown on the opposite breadcrumb side in comparison to the _start_ area
+- **more**: shown when pressing the {{% button style="transparent" icon="ellipsis-v" %}}{{% /button %}} _more_ button in the topbar
+
+While you can not add additional areas in the topbar, you are free to configure addtional buttons that behave like the _more_ button, providing further user defined areas.
+
+## Buttons
+
+The theme ships with the following predefined buttons (from left to right in the screenshot)
+
+- {{% button style="transparent" icon="bars" %}}{{% /button %}} **sidebar**: opens the sidebar flyout if in mobile layout
+- {{% button style="transparent" icon="list-alt" %}}{{% /button %}} **toc**: opens the table of contents in an overlay
+- {{% button style="transparent" icon="pen" %}}{{% /button %}} **edit**: browses to the editable page if the `editURL` [parameter is set]({{% relref "/basics/configuration/#global-site-parameters" %}})
+- {{% button style="transparent" icon="print" %}}{{% /button %}} **print**: browses to the chapters printable page if [print support]({{% relref "/basics/configuration/#activate-print-support" %}}) was activated
+- {{% button style="transparent" icon="chevron-left" %}}{{% /button %}} **prev**: browses to the previous page if there is one
+- {{% button style="transparent" icon="chevron-right" %}}{{% /button %}} **next**: browses to the next page if there is one
+- {{% button style="transparent" icon="ellipsis-v" %}}{{% /button %}} **more**: opens the overlay for the _more_ area
+
+Not all buttons are displayed at every given time. This is configurable (see below if interested).
+
+## Redefining Areas
+
+Each predefined area and button comes in their own file. By that it is easy for you to overwrite an area file in your installation reusing only the buttons you like.
+
+Eg. you can redefine the predefined _end_ area by adding the file `layouts/partials/topbar/area/end.html` in your installtion (not in the theme itself) to remove all but the _more_ button.
+
+````go
+{{ partial "topbar/button/more.html" (dict
+ "page" .
+)}}
+````
+
+## Defining own Buttons
+
+### Button Types
+
+The theme distingushies between two types of buttons:
+
+- **button**: a clickable button that either browses to another site or triggers a user defined script
+- **area-button**: the template for the {{% button style="transparent" icon="ellipsis-v" %}}{{% /button %}} _more_ button, to define your own area overlay buttons
+
+### Button Parameter
+
+#### Screen Widths and Actions
+
+Depending on the screen width you can configure how the button should behave. Screen width is divided into three classes:
+
+- **s**: (controlled by the `onwidths` parameter) mobile layout where the menu sidebar is hidden
+- **m**: (controlled by the `onwidthm` parameter) desktop layout with visible sidebar while the content area width still resizes
+- **l**: (controlled by the `onwidthl` parameter) desktop layout with visible sidebar once the content area reached its maximum width
+
+For each width class, you can configure one of the following actions:
+
+- **show**: the button is displayed in its configured area
+- **hide**: the button is hidden
+- **area-XXX**: the button is moved from its configured area into the area `XXX`; eg. this is used to move buttons to the _more_ area in the mobile layout
+
+#### Hiding and Disabling Stuff
+
+While hiding a button dependend on the screen size can be configured with the above described _hide_ action, you may want to hide the button on certain other conditions aswell.
+
+For example, the _print_ button in its default configuration should only be displayed if print support was configured. This is done in your button template by checking the conditions first before displaying the button (see `layouts/partials/topbar/button/print.html`).
+
+Another prefered condition for hiding a button is, if the displayed overlay is empty. This is the case for the _toc_ (see `layouts/partials/topbar/button/toc.html`) aswell as the _more_ button (see `layouts/partials/topbar/button/more.html`) and controlled by the parameter `onempty`.
+
+This parameter can have one of the following values:
+
+- **hide**: the button is hidden if the overlay is empty
+- **disable**: the button is disabled if the overlay is empty
+
+If you want to disable a button containing _no overlay_, this can be achieved by an empty `href` parameter. An example can be seen in the _prev_ button (see `layouts/partials/topbar/button/prev.html`) where the URL for the previous site may be empty.
+
+## Reference
+
+### Button
+
+Contains the basic button functionality and is used as a base implementation for all other buttons (`layouts/partials/topbar/func/button.html`). Call this from your own button templates if you want to implement a button with _no overlay_ area.
+
+#### Parameter
+
+| Name | Default | Notes |
+|-----------------------|-----------------|-------------|
+| **page** | _<empty>_ | Mandatory reference to the page. |
+| **class** | _<empty>_ | Mandatory unique class name for this button. Displaying two buttons with the same value for **class** is undefined. |
+| **href** | _<empty>_ | Either the destination URL for the button or JavaScript code to be executed on click.
- if starting with `javascript:` all following text will be executed in your browser
- every other string will be interpreted as URL
If this parameter is not set, the button will be displayed
- as disabled if no **content** is specified
- according to **onempty** if any **content** is given. |
+| **icon** | _<empty>_ | Mandatory [Font Awesome icon name]({{%relref "shortcodes/icon#finding-an-icon" %}}). |
+| **onempty** | `disable` | Defines what to do with the button if its content overlay is empty:
- `disable`: The button is displayed in disabled state.
- `hide`: The button is not displayed. The next button will move into the gap. |
+| **onwidths** | `show` | The action, that should be executed if the site is displayed in the given width:
- `show`: The button is displayed in its configured area
- `hide`: The button is hidden.
- `area-XXX`: The button is moved from its configured area into the area `XXX`. |
+| **onwidthm** | `show` | See above. |
+| **onwidthl** | `show` | See above. |
+| **title** | _<empty>_ | Arbitrary text for title, displayed in the tooltip. |
+| **content** | see notes | Arbitrary HTML to put into the content overlay. This parameter may be empty. In this case no overlay will be generated. |
+
+### Area-Button
+
+Contains the basic functionality to display area overlay buttons (`layouts/partials/topbar/func/area-button.html`). Call this from your own button templates if you want to implement a button with an overlay area like the _more_ button.
+
+| Name | Default | Notes |
+|-----------------------|-----------------|-------------|
+| **page** | _<empty>_ | Mandatory reference to the page. |
+| **area** | _<empty>_ | Mandatory unique area name for this area. Displaying two areas with the same value for **area** is undefined. |
+| **icon** | _<empty>_ | Mandatory [Font Awesome icon name]({{%relref "shortcodes/icon#finding-an-icon" %}}). |
+| **onempty** | `disable` | Defines what to do with the button if its content overlay is empty:
- `disable`: The button is displayed in disabled state.
- `hide`: The button is not displayed. The next button will move into the gap. |
+| **onwidths** | `show` | The action, that should be executed if the site is displayed in the given width:
- `show`: The button is displayed in its configured area
- `hide`: The button is hidden.
- `area-XXX`: The button is moved from its configured area into the area `XXX`. |
+| **onwidthm** | `show` | See above. |
+| **onwidthl** | `show` | See above. |
+| **title** | _<empty>_ | Arbitrary text for title, displayed in the tooltip. |
+
+### Predefined Buttons
+
+The predefined buttons by the theme (all other buttons besides the _more_ and _toc_ button in `layouts/partials/topbar/button`). Call these from your own redefined area templates if you want to offer some of the default button behavior.
+
+| Name | Default | Notes |
+|-----------------------|-------------------|-------------|
+| **page** | _<empty>_ | Mandatory reference to the page. |
+| **onwidths** | _<varying>_ | The action, that should be executed if the site is displayed in the given width:
- `show`: The button is displayed in its configured area
- `hide_<varying>_ is hidden.
- `area-XXX`: The button is moved from its configured area into the area `XXX`. |
+| **onwidthm** | _<varying>_ | See above. |
+| **onwidthl** | _<varying>_ | See above. |
+
+### Predefined Overlay-Buttons
+
+The predefined buttons by the theme that open an overlay (the _more_ and _toc_ button in `layouts/partials/topbar/button`). Call these from your own redefined area templates if you want to offer some of the default area button behavior.
+
+| Name | Default | Notes |
+|-----------------------|-------------------|-------------|
+| **page** | _<empty>_ | Mandatory reference to the page. |
+| **onempty** | _<varying>_ | Defines what to do with the button if its content overlay is empty:
- `disable`: The button is displayed in disabled state.
- `hide`: The button is not displayed. The next button will move into the gap. |
+| **onwidths** | _<varying>_ | The action, that should be executed if the site is displayed in the given width:
- `show`: The button is displayed in its configured area
- `hide`: The button is hidden.
- `area-XXX`: The button is moved from its configured area into the area `XXX`. |
+| **onwidthm** | _<varying>_ | See above. |
+| **onwidthl** | _<varying>_ | See above. |
diff --git a/exampleSite/content/basics/topbar/_index.pir.md b/exampleSite/content/basics/topbar/_index.pir.md
new file mode 100644
index 0000000000..6709585eb2
--- /dev/null
+++ b/exampleSite/content/basics/topbar/_index.pir.md
@@ -0,0 +1,5 @@
++++
+title = "Topbarrr modificat'n"
+weight = 27
++++
+{{< piratify >}}
\ No newline at end of file
diff --git a/exampleSite/content/basics/topbar/topbar-areas.png b/exampleSite/content/basics/topbar/topbar-areas.png
new file mode 100644
index 0000000000..ca8fa4cda9
Binary files /dev/null and b/exampleSite/content/basics/topbar/topbar-areas.png differ
diff --git a/exampleSite/content/basics/topbar/topbar-closed.png b/exampleSite/content/basics/topbar/topbar-closed.png
new file mode 100644
index 0000000000..631cbecf13
Binary files /dev/null and b/exampleSite/content/basics/topbar/topbar-closed.png differ
diff --git a/i18n/ar.toml b/i18n/ar.toml
index ac2931ec95..c8a24557ca 100644
--- a/i18n/ar.toml
+++ b/i18n/ar.toml
@@ -37,6 +37,9 @@ other = "حرر"
[Print-this-chapter]
other = "طباعة الفصل بأكمله"
+[More-action]
+other = "المزيد"
+
[Shortcuts-Title]
other = "المزيد"
diff --git a/i18n/cs.toml b/i18n/cs.toml
index 9045e54357..1916959f32 100644
--- a/i18n/cs.toml
+++ b/i18n/cs.toml
@@ -37,6 +37,9 @@ other = "Upravit"
[Print-this-chapter]
other = "Vytisknout kapitolu"
+[More-action]
+other = "Více"
+
[Shortcuts-Title]
other = "Více"
diff --git a/i18n/de.toml b/i18n/de.toml
index 31cc81bf4e..db67360277 100644
--- a/i18n/de.toml
+++ b/i18n/de.toml
@@ -37,6 +37,9 @@ other = "Bearbeiten"
[Print-this-chapter]
other = "Ganzes Kapitel drucken"
+[More-action]
+other = "Mehr"
+
[Shortcuts-Title]
other = "Mehr"
diff --git a/i18n/en.toml b/i18n/en.toml
index c983a36dda..5d32322a5a 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -37,6 +37,9 @@ other = "Edit"
[Print-this-chapter]
other = "Print whole chapter"
+[More-action]
+other = "More"
+
[Shortcuts-Title]
other = "More"
diff --git a/i18n/es.toml b/i18n/es.toml
index 85a954d748..78fc2f8360 100644
--- a/i18n/es.toml
+++ b/i18n/es.toml
@@ -37,6 +37,9 @@ other = "Editar"
[Print-this-chapter]
other = "Imprimir todo el capítulo"
+[More-action]
+other = "Más"
+
[Shortcuts-Title]
other = "Más"
diff --git a/i18n/fi.toml b/i18n/fi.toml
index 9880c96c36..a138dd99ee 100644
--- a/i18n/fi.toml
+++ b/i18n/fi.toml
@@ -37,6 +37,9 @@ other = "Muokkaa"
[Print-this-chapter]
other = "Tulosta koko luku"
+[More-action]
+other = "Lisää"
+
[Shortcuts-Title]
other = "Lisää"
diff --git a/i18n/fr.toml b/i18n/fr.toml
index c3051d55ec..980d72e4c9 100644
--- a/i18n/fr.toml
+++ b/i18n/fr.toml
@@ -37,6 +37,9 @@ other = "Éditer"
[Print-this-chapter]
other = "Imprimer le chapitre entier"
+[More-action]
+other = "Aller plus loin"
+
[Shortcuts-Title]
other = "Aller plus loin"
diff --git a/i18n/hi.toml b/i18n/hi.toml
index a145b03605..edd8470a24 100644
--- a/i18n/hi.toml
+++ b/i18n/hi.toml
@@ -37,6 +37,9 @@ other = "संपादन करना"
[Print-this-chapter]
other = "पूरा अध्याय मुद्रित करें"
+[More-action]
+other = "अधिक सामग्री दिखाएं"
+
[Shortcuts-Title]
other = "अधिक सामग्री दिखाएं"
diff --git a/i18n/hu.toml b/i18n/hu.toml
index 32af4634b6..a29d71f524 100644
--- a/i18n/hu.toml
+++ b/i18n/hu.toml
@@ -37,6 +37,9 @@ other = "Szerkesztés"
[Print-this-chapter]
other = "Teljes fejezet nyomtatása"
+[More-action]
+other = "Egyebek"
+
[Shortcuts-Title]
other = "Egyebek"
diff --git a/i18n/id.toml b/i18n/id.toml
index f080a794fb..182bdcb249 100644
--- a/i18n/id.toml
+++ b/i18n/id.toml
@@ -37,6 +37,9 @@ other = "Mengedit"
[Print-this-chapter]
other = "Mencetak seluruh bab"
+[More-action]
+other = "Lainnya"
+
[Shortcuts-Title]
other = "Lainnya"
diff --git a/i18n/it.toml b/i18n/it.toml
index a9940df0ad..5d89c3f2bb 100644
--- a/i18n/it.toml
+++ b/i18n/it.toml
@@ -37,6 +37,9 @@ other = "Modifica"
[Print-this-chapter]
other = "Stampa l'intero capitolo"
+[More-action]
+other = "Altro"
+
[Shortcuts-Title]
other = "Altro"
diff --git a/i18n/ja.toml b/i18n/ja.toml
index 73c284c657..533c39a160 100644
--- a/i18n/ja.toml
+++ b/i18n/ja.toml
@@ -37,6 +37,9 @@ other = "編集"
[Print-this-chapter]
other = "章全体を印刷する"
+[More-action]
+other = "更に"
+
[Shortcuts-Title]
other = "更に"
diff --git a/i18n/ko.toml b/i18n/ko.toml
index 59109fd4ad..11ae5ab546 100644
--- a/i18n/ko.toml
+++ b/i18n/ko.toml
@@ -37,6 +37,9 @@ other = "편집"
[Print-this-chapter]
other = "전체 장 인쇄"
+[More-action]
+other = "외부 링크"
+
[Shortcuts-Title]
other = "외부 링크"
diff --git a/i18n/nl.toml b/i18n/nl.toml
index 64c7f7be90..6579efb28b 100644
--- a/i18n/nl.toml
+++ b/i18n/nl.toml
@@ -37,6 +37,9 @@ other = "Bewerken"
[Print-this-chapter]
other = "Het hele hoofdstuk afdrukken"
+[More-action]
+other = "Snelkoppelingen"
+
[Shortcuts-Title]
other = "Snelkoppelingen"
diff --git a/i18n/pir.toml b/i18n/pir.toml
index d658d8198f..b35a00ca01 100644
--- a/i18n/pir.toml
+++ b/i18n/pir.toml
@@ -37,6 +37,9 @@ other = "Edit"
[Print-this-chapter]
other = "Prrrint whole chapterrr"
+[More-action]
+other = "Morrre"
+
[Shortcuts-Title]
other = "Morrre"
diff --git a/i18n/pl.toml b/i18n/pl.toml
index 5bd0104168..bece1d1643 100644
--- a/i18n/pl.toml
+++ b/i18n/pl.toml
@@ -37,6 +37,9 @@ other = "Edycja"
[Print-this-chapter]
other = "Drukowanie całego rozdziału"
+[More-action]
+other = "Więcej"
+
[Shortcuts-Title]
other = "Więcej"
diff --git a/i18n/pt.toml b/i18n/pt.toml
index bb9f1ee7b1..084ae7fae4 100644
--- a/i18n/pt.toml
+++ b/i18n/pt.toml
@@ -37,6 +37,9 @@ other = "Editar"
[Print-this-chapter]
other = "Imprimir capítulo inteiro"
+[More-action]
+other = "Mais"
+
[Shortcuts-Title]
other = "Mais"
diff --git a/i18n/ru.toml b/i18n/ru.toml
index 4f5ab9c458..713142705b 100644
--- a/i18n/ru.toml
+++ b/i18n/ru.toml
@@ -37,6 +37,9 @@ other = "редактировать"
[Print-this-chapter]
other = "Печать всей главы"
+[More-action]
+other = "Еще"
+
[Shortcuts-Title]
other = "Еще"
diff --git a/i18n/tr.toml b/i18n/tr.toml
index 64ad6ca712..69c302828f 100644
--- a/i18n/tr.toml
+++ b/i18n/tr.toml
@@ -37,6 +37,9 @@ other = "Düzenlemek"
[Print-this-chapter]
other = "Bölümün tamamını yazdır"
+[More-action]
+other = "Dahası Var"
+
[Shortcuts-Title]
other = "Dahası Var"
diff --git a/i18n/vi.toml b/i18n/vi.toml
index 3c370ba486..23e6e4a4f4 100644
--- a/i18n/vi.toml
+++ b/i18n/vi.toml
@@ -37,6 +37,9 @@ other = "Biên tập"
[Print-this-chapter]
other = "In toàn bộ chương"
+[More-action]
+other = "Nội dung khác"
+
[Shortcuts-Title]
other = "Nội dung khác"
diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml
index 8edf1faf52..89cb513206 100644
--- a/i18n/zh-cn.toml
+++ b/i18n/zh-cn.toml
@@ -37,6 +37,9 @@ other = "编辑"
[Print-this-chapter]
other = "打印整章"
+[More-action]
+other = "更多"
+
[Shortcuts-Title]
other = "更多"
diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml
index 018ba1c4eb..9184872d85 100644
--- a/i18n/zh-tw.toml
+++ b/i18n/zh-tw.toml
@@ -37,6 +37,9 @@ other = "編輯網頁"
[Print-this-chapter]
other = "列印整章"
+[More-action]
+other = "更多"
+
[Shortcuts-Title]
other = "更多"
diff --git a/i18n/zh.toml b/i18n/zh.toml
index 8edf1faf52..89cb513206 100644
--- a/i18n/zh.toml
+++ b/i18n/zh.toml
@@ -37,6 +37,9 @@ other = "编辑"
[Print-this-chapter]
other = "打印整章"
+[More-action]
+other = "更多"
+
[Shortcuts-Title]
other = "更多"
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index fb3d4f041a..d12b9e2ba3 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -69,31 +69,10 @@