Answers.Body: <p>You want something like this:</p>
  
  <pre><code>{% set seo = craft.seo.custom(
      'Welcome back, ' ~ category.title ~ ', Test Meta Description!'
  ) %}
  </code></pre>
  
  <p>Or even more clear (to me anyway):</p>
  
  <pre><code>{% set seo = craft.seo.custom(
      "Welcome back, #{category.title}, Test Meta Description!"
  ) %}
  </code></pre>
  
  <p>More here: <a href="https://twitter.com/nystudio107/status/938018528527036416?s=21" rel="nofollow noreferrer">https://twitter.com/nystudio107/status/938018528527036416?s=21</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-19T12:02:57.913Z
Answers.LastActivityDate: 2018-05-20T21:40:27.780Z
Answers.LastEditDate: 2018-05-20T21:40:27.780Z
Answers.UserDisplayName: andrew.welch
Body: <p>I'm trying to get the category title to render within the following object but it's just returning it as the static string instead of the {{ category.title }} actually rendering.</p>
  
  <pre><code>{% set seo = craft.seo.custom(
      'Welcome back, {{ category.title }}',
      'Test Meta Description!'
  ) %}
  </code></pre>
  
Tags: <entries><category><plugin-seo>
Title: Including Entry Property in Object
ThreadText: # Including Entry Property in Object
  
  (Asked by: username_0 on 2018-05-19)
  
  I'm trying to get the category title to render within the following object but it's just returning it as the static string instead of the {{ category.title }} actually rendering.
  
  ```
  {% set seo = craft.seo.custom(
      'Welcome back, {{ category.title }}',
      'Test Meta Description!'
  ) %}
  
  ```
  
  **Tags:** entries, category, plugin-seo
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-05-19. Score: 3 | Accepted answer
  
  You want something like this:
  
  ```
  {% set seo = craft.seo.custom(
      'Welcome back, ' ~ category.title ~ ', Test Meta Description!'
  ) %}
  
  ```
  
  Or even more clear (to me anyway):
  
  ```
  {% set seo = craft.seo.custom(
      "Welcome back, #{category.title}, Test Meta Description!"
  ) %}
  
  ```
  
  More here: <https://twitter.com/nystudio107/status/938018528527036416?s=21>
  
  
  ---
  
  