mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
search: adding test for expander content
search for 'maybe' to see expander text also been searched
This commit is contained in:
parent
c969f3b13f
commit
28450684a9
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ The first optional parameter defines the text that appears next to the expand/co
|
|||
The second optional parameter controls if the block is initially shown as expanded (`"true"`) or collapsed (`"false"`). The default ist `"false"`.
|
||||
## Examples
|
||||
|
||||
{{% expand "I'll tell you a secret..." %}}
|
||||
...maybe the next time you'll open this expander!
|
||||
{{% /expand %}}
|
||||
|
||||
### All defaults
|
||||
|
||||
{{% expand %}}
|
||||
|
|
Loading…
Reference in a new issue