title: Pass string parameter into assemble partial
body: <p>I'm trying to pass a string parameter into a partial</p>
  
  <p>This is my call to my partial.</p>
  
  <pre><code>{{&gt; loginButton hide-on-mobile}}
  </code></pre>
  
  <p>This is my partial</p>
  
  <pre><code>&lt;a href="/login" class="login {{this}}"&gt;Log in&lt;/a&gt;
  </code></pre>
  
  <p>For some reason the value isn't being displayed. What am I doing wrong as it's driving me mad!!</p>
  
  <p><strong>Update</strong></p>
  
  <p>As suggested below by harco gijsbers, I needed to pass through an object not a string.</p>
  
  <p>I did it in the following way using the parseJSON helper</p>
  
  <pre><code>{{#parseJSON '{"extraClass": "hide-on-mobile"}'}}
      {{&gt; loginButton }}
  {{/parseJSON}}
  </code></pre>