How to make a welcome screen with a choice of two different themes

Hi everyone,

I’m relatively new to Hugo, sorry if i appear naive. I’m working on a project that requires a welcome page (like an age confirmation page) that has two options, to open the index page with one theme, and the other another. Same content on either page just different style and layout.

A little diagram made in… paint…

Roughly how would I go about doing this?

Thanks in advanced

Is everything possible with css styling or does the HTML need to change for each layout as well? If it’s just css styling, you could use JavaScript to load different css files and leave everything else as it is.

With JavaScript, you have two options, either use a cookie or pass the theme in the URL (google window.location.href for more)