mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
docs: fine tuning
This commit is contained in:
parent
f52639c9df
commit
619e8846d4
3 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
+++
|
||||
description = "Get value of site params"
|
||||
title = "Site param"
|
||||
title = "Site Param"
|
||||
+++
|
||||
|
||||
The `siteparam` shortcode prints values of site params.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
descrption = "Get value o' ship parrrams varrriables 'n yer plank"
|
||||
title = "Ship param"
|
||||
title = "Ship Param"
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -96,7 +96,7 @@ printf"Hello World!");
|
|||
| **groupid** | _<random>_ | Arbitrary name of the group the tab view belongs to.<br><br>Tab views with the same **groupid** sychronize their selected tab. The tab selection is restored automatically based on the `groupid` for tab view. If the selected tab can not be found in a tab group the first tab is selected instead.<br><br>This sychronization applies to the whole site! |
|
||||
| **style** | _<empty>_ | Sets a default value for every contained tab. Can be overridden by each tab. See the [`tab` shortcode]({{% relref "shortcodes/tab#parameter" %}}) for possible values. |
|
||||
| **color** | _<empty>_ | Sets a default value for every contained tab. Can be overridden by each tab. See the [`tab` shortcode]({{% relref "shortcodes/tab#parameter" %}}) for possible values. |
|
||||
| **title** | _<empty>_ | Arbitrary title written in front of the tabs. |
|
||||
| **title** | _<empty>_ | Arbitrary title written in front of the tab view. |
|
||||
| **icon** | _<empty>_ | [Font Awesome icon name]({{%relref "shortcodes/icon#finding-an-icon" %}}) set to the left of the title. |
|
||||
| _**<content>**_ | _<empty>_ | Arbitrary number of tabs defined with the `tab` sub-shortcode. |
|
||||
|
||||
|
@ -106,7 +106,7 @@ printf"Hello World!");
|
|||
|
||||
See what happens to the tab views while you select different tabs.
|
||||
|
||||
While pressing a tab of group A switches all tab views of group A in sync (if the tab is available), the tabs of group B are left untouched.
|
||||
While pressing a tab of Group A switches all tab views of Group A in sync (if the tab is available), the tabs of Group B are left untouched.
|
||||
|
||||
{{< tabs >}}
|
||||
{{% tab title="Group A, Tab View 1" %}}
|
||||
|
@ -213,11 +213,11 @@ While pressing a tab of group A switches all tab views of group A in sync (if th
|
|||
{{% /tab %}}
|
||||
{{< /tabs >}}
|
||||
|
||||
### Nested Tabs and Color
|
||||
### Nested Tab Views and Color
|
||||
|
||||
In case you want to nest tabs, the parent tab that contains the subtabs needs to be declared with `{{</* tab */>}}` instead of `{{%/* tab */%}}`. Note, that in this case it is not possible to put markdown in the parent tab.
|
||||
In case you want to nest tab views, the parent tab that contains nested tab views needs to be declared with `{{</* tab */>}}` instead of `{{%/* tab */%}}`. Note, that in this case it is not possible to put markdown in the parent tab.
|
||||
|
||||
You can also set various color parameter for all tabs or just selected ones. See the [`tab` shortcode]({{% relref "shortcodes/tab#parameter" %}}) for possible values.
|
||||
You can also set style and color parameter for all tabs and overwrite them on tab level. See the [`tab` shortcode]({{% relref "shortcodes/tab#parameter" %}}) for possible values.
|
||||
|
||||
````go
|
||||
{{</* tabs groupid="main" style="primary" title="Rationale" icon="thumbtack" */>}}
|
||||
|
|
Loading…
Reference in a new issue