title: Bigcommerce Stencil declare custom front-matter variable
body: <p>I would like to define a list of featured category IDs within my homepage template. Is it possible to define a custom variable in the front matter? I can't seem to get it working:</p>
  
  <p>Here is the default front-matter in <code>templates/pages/home.html</code> with my custom variable, <code>featured_categories</code> at the end:</p>
  
  <pre><code>---
  products:
      new:
          limit: {{theme_settings.homepage_new_products_count}}
      featured:
          limit: {{theme_settings.homepage_featured_products_count}}
      top_sellers:
          limit: {{theme_settings.homepage_top_products_count}}
  carousel: {{theme_settings.homepage_show_carousel}}
  blog:
      recent_posts:
        limit: {{theme_settings.homepage_blog_posts_count}}
  featured_categories: 'testing'
  ---
  </code></pre>
  
  <p>Then, in the template, this line is not producing any output:</p>
  
  <pre><code>{{featured_categories}}
  </code></pre>
  
  <p>Why doesn't this output the value <code>testing</code>? Ultimately, I would like <code>featured_categories</code> to be an array of category ID's. Is this possible to do using front matter?</p>