How to Get Post {{title}} using <a href> Link

Latest version.

When formatting a basic HTML link using a template (*.hbs), is the following the correct way of getting the post title as the email subject?

<a href="{{title}}&body=Hello" target="_blank">Email</a>

If not, does anyone know?

You’ll want to use the {{encode}} helper, and make sure you’re in the post context

Okay, so basically like this:

<a href="{{encode title}}&body=Hello" target="_blank">Email</a>

I’m editing the content.hbs file.