title: Working with Stash, Context and Categories in ExpressionEngine
body: <p>I'm hoping there is a way to use Stash Context with Categories, for example, like so:</p>
  
  <pre><code>{exp:channel:entries channel="channel-name" dynamic="no" disable="member_data|pagination"}
      {exp:stash:append_list name='list' parse_tags="yes" save="yes" scope="site" context='{categories}{category_name}{/categories}'}
          {stash:this_title}{title}{/stash:this_title}
          {categories}
              {stash:this_category_name}
                  {category_name}
              {/stash:this_category_name}
          {/categories}
      {/exp:stash:append_list}
  {/exp:channel:entries}
  
  
  {exp:stash:get_list name="list" parse_tags="yes" parse_conditionals="yes" context="{this_category_name}"}                   
      &lt;div&gt;
          all my stash variables and html etc.
      &lt;/div&gt;
  {/exp:stash:get_list}
  </code></pre>
  
  <p>I know I can do the following though, this would mean that someone would have to edit the template each time a category was added.</p>
  
  <pre><code>{exp:stash:get_list name="list" parse_tags="yes" parse_conditionals="yes" context="category1"}                  
      &lt;div&gt;
          all my stash variables and html etc.
      &lt;/div&gt;
  {/exp:stash:get_list}
  
  
  {exp:stash:get_list name="list" parse_tags="yes" parse_conditionals="yes" context="category2"}                  
      &lt;div&gt;
          all my stash variables and html etc.
      &lt;/div&gt;
  {/exp:stash:get_list}
  </code></pre>
  
  <p>With that said, my question is: is there anyway to dynamically use Stash context and ExpressionEngine categories?</p>