We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In this line, it's hardcoded to set the first tab to be active:
hugo-modules/tab/layouts/shortcodes/tabs.html
Line 17 in 30ad48e
Would be nice if this was the default behaviour unless an active or active="true" param was set in the shortcode. Like so (2nd tab is active):
active
active="true"
{{< tabs "tab-group-name" >}} {{< tab "first" >}} First Tab {{< /tab >}} {{< tab "second" active="true" >}} Second Tab {{< /tab >}} {{< tab "third" >}} Third Tab {{< /tab >}} {{< /tabs >}}
The text was updated successfully, but these errors were encountered:
Hey @cybardev, You can make a PR to contribute to this open-source project. I'll merge it.
Sorry, something went wrong.
Yep, I want to do it but am occupied for the next couple of days weeks. Will get on it afterwards.
No branches or pull requests
In this line, it's hardcoded to set the first tab to be active:
hugo-modules/tab/layouts/shortcodes/tabs.html
Line 17 in 30ad48e
Would be nice if this was the default behaviour unless an
active
oractive="true"
param was set in the shortcode. Like so (2nd tab is active):The text was updated successfully, but these errors were encountered: