Hello everyone. I am trying to create a shortcode to make the creation of tabed code views easier. In my case, I will always be displaying tabs for only two languages. So, I want to make a short code whose arguments are the two code blocks.
You need to call .Get from inside the shortcode definition (layouts/shortcodes/foo.html), not inside the shortcode call from your content. Also, you are using .Get 0, which is used for positional parameters, while you have named parameters.