Ladies and Gentleman,
I am struggling to rewrite the following code without isset
any help would be highly appreciated.
<meta name="twitter:card" content="{{ cond (or (isset .Params.Twitter "image") (isset .Params.Image "src")) "summary_large_image" "summary"}}">
Why I need an alternative? Because I am getting the following warning in the console whenever I run the project.
WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.
Super thanks