Skip to content
New issue

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

Implement tab views #386

Merged
merged 5 commits into from
Mar 16, 2021
Merged

Implement tab views #386

merged 5 commits into from
Mar 16, 2021

Conversation

swenzel
Copy link
Contributor

@swenzel swenzel commented Mar 20, 2020

We recently decided to add this to our internal documentation. I thought other people might find it useful, too.
I do speak some French but I'd still leave the translation up to someone else.

closes #70

Btw. the code was inspired by solutions from:
https://github.com/gohugoio/hugoDocs/
https://github.com/kubernetes/website/
https://www.mediaevent.de/tutorial/css-tabs.html

@matalo33
Copy link
Contributor

Love it! Thanks so much for your contribution. I'd like to get 2.5 shipped as it already contains several improvements and bug fixes. This will be properly reviewed and merged asap after it.

If you didn't see already, the live demo looks fantastic https://deploy-preview-386--learn.netlify.com/en/shortcodes/tabs/

PrasadG193 added a commit to kubeshop/botkube-docs that referenced this pull request Apr 25, 2020
Changes are taken from:
matcornic/hugo-theme-learn#386

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
PrasadG193 added a commit to kubeshop/botkube-docs that referenced this pull request Apr 27, 2020
Changes are taken from:
matcornic/hugo-theme-learn#386

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
PrasadG193 added a commit to kubeshop/botkube-docs that referenced this pull request Apr 27, 2020
Changes are taken from:
matcornic/hugo-theme-learn#386

Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
@johnDorian
Copy link

Just tried this out locally using hugo v0.74.3, but it wasn't working. It seems this bug was fixed by #403.

@fritzmg
Copy link
Contributor

fritzmg commented Sep 20, 2020

Any update on this? Would be great to have in the Hugo Learn Theme :)

@MichaelStott
Copy link

Same here, can this be merged or is there anything still pending?

@MichaelStott MichaelStott mentioned this pull request Jan 23, 2021
@gadams999
Copy link

This is awesome and just what I needed to reduce page lengths. What's the normal time frames for PR inclusion into the learn theme?

@matalo33 matalo33 merged commit 0b5bb6e into matcornic:master Mar 16, 2021
@swenzel swenzel deleted the add-shortcode-for-tabs branch March 17, 2021 07:45
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
otherwise we are not able to tab thru search results on the search page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New Features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Shortcode] Tabs
6 participants