{% let path = shortcode.Get(0) or shortcode.Get("path") %} {% let label = shortcode.Get("text") or shortcode.Get("label") or path %} {% if path %} {{ label }} {% end %}