Dynamic Tabs

One issue I came across when converting our documentation site form HTML to Hugo was dynamic tabs. I wanted to share the solution I came up with as I came across a couple different sites and threads with similar issues. I’m relatively new to Hugo so any feedback is greatly appreciated.

4 Likes

Cool :slight_smile:

A suggestion: for easier integration in other projects, I’ll advise you package this as a Hugo component. You’ll just to add a configuration file and advertise it as a component.

As an example, see

4 Likes

Hello,

Thanks for the suggestion, I’ll take a look later this week and make the changes. :slight_smile:

1 Like

Alright, should be good to go as a Theme Component!

Thanks again @martignoni for the tip. :slight_smile:

Thanks for sharing! Not easy to solve, but that was useful to me.

1 Like