mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-31 00:47:13 +00:00
frontmatter: add groupid to notice shortcode
This commit is contained in:
parent
db9ca5d295
commit
c0f6af2b42
3 changed files with 15 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
7.3.2+df03dac58f35146443feb48374912e266ca4b2b7
|
7.3.2+db9ca5d2958a7e5956d4f37f6d79e8d2076b8381
|
|
@ -293,7 +293,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Notice": {
|
"Notice": {
|
||||||
"body": ["{{% notice title=\"[[&title]]\" style=\"[[&style]]\" color=\"[[&color]]\" icon=\"[[&icon]]\" expanded=\"[[&expanded]]\" %}}[[&content]]{{% /notice %}}"],
|
"body": ["{{% notice title=\"[[&title]]\" style=\"[[&style]]\" color=\"[[&color]]\" icon=\"[[&icon]]\" groupid=\"[[&groupid]]\" expanded=\"[[&expanded]]\" %}}[[&content]]{{% /notice %}}"],
|
||||||
"description": "Zeigt eine konfigurierbare Text-Box an",
|
"description": "Zeigt eine konfigurierbare Text-Box an",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
|
@ -327,6 +327,12 @@
|
||||||
"title": "Font Awesome Icon",
|
"title": "Font Awesome Icon",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"default": "",
|
||||||
|
"name": "groupid",
|
||||||
|
"title": "Expandierbare Text-Boxen mit der gleiche ID synchronisieren ihren Zustand",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"choices": ["", "false", "true"],
|
"choices": ["", "false", "true"],
|
||||||
"default": "",
|
"default": "",
|
||||||
|
|
|
@ -293,7 +293,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Notice": {
|
"Notice": {
|
||||||
"body": ["{{% notice title=\"[[&title]]\" style=\"[[&style]]\" color=\"[[&color]]\" icon=\"[[&icon]]\" expanded=\"[[&expanded]]\" %}}[[&content]]{{% /notice %}}"],
|
"body": ["{{% notice title=\"[[&title]]\" style=\"[[&style]]\" color=\"[[&color]]\" icon=\"[[&icon]]\" groupid=\"[[&groupid]]\" expanded=\"[[&expanded]]\" %}}[[&content]]{{% /notice %}}"],
|
||||||
"description": "Displays a configurable box of text",
|
"description": "Displays a configurable box of text",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
|
@ -327,6 +327,12 @@
|
||||||
"title": "Font Awesome icon",
|
"title": "Font Awesome icon",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"default": "",
|
||||||
|
"name": "groupid",
|
||||||
|
"title": "Expandable boxes with the same ID synchronize their state",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"choices": ["", "false", "true"],
|
"choices": ["", "false", "true"],
|
||||||
"default": "",
|
"default": "",
|
||||||
|
|
Loading…
Add table
Reference in a new issue