Hello there,
I was trying to make a shortcode which depends on whether an .Inner variable has been given or not. I coded
{{ if eq .Inner "" }}
Inner is empty
{{ else }}
{{ .Inner }}
{{ end }}
but that doesn’t seem to work. I also tried
{{ with .Inner}}
{{ . | markdownify}}
{{ else }}
"No Inner has been given"
{{ end }}
with no succes. Could someone help? ![]()