CSS in shortcodes - is it working as intended in 0.55?

@StarfallProjects, you can also apply the CSS only if the shortcode is present.

For example, I have a gallery shortcode and apply the required css and javascript with an if statement in baseof.html

{{- if .HasShortcode "gallery" -}}
code here
{{ end }}

This way, if a user places the shortcode twice, your css won’t be duplicated.