Hide HTML card in blog post based on if user is logged in

I am embedding some html into my blog post.
I only want to show it if the user is not logged in.
How can I wrap this html area in if statements to check if the user is logged in or not.

{{#if access}}
    <p>Thanks for being a member...</p>
    <p>You need to become a member in order to read this post... </p>


{{#if @member}}
  <p>Thanks for becoming a member 🎉</p>
  <p>You should totally sign up... 🖋</p>

How can I put this in a html card?

@sendgrid did you ever get this figured out? I’d love to know how if so!

@justinv Use the concept mentioned at the beginning of this comment: