I get errors with / and @ in shortcodes. How can I use them?
Examples:
{{< social youtube channel/example >}}
{{< social tiktok @example >}}
Then in social.html: ($youtube etc is SVG data)
{{ $type := .Get 0 }}
{{ $page := .Get 1 }}
{{ with (eq $type "youtube") }}<span class="box"><a href='https://www.youtube.com/{{ $page }}' target='_blank'>{{ $youtube | safeHTML }}</a></span>{{ end }}
{{ with (eq $type "tiktok") }}<span class="box"><a href='https://www.tiktok.com/{{ $page }}' target='_blank'>{{ $tiktok | safeHTML }}</a></span>{{ end }}