title: Create a link to the tag from home age in Shopify
body: <p>I am trying to create a navigation bar in the sidebar dynamically. I used the following code: </p>
  
  <pre><code>&lt;ul&gt;{% for collection in collections %}
  {%if collection.title != 'Frontpage' %}
  &lt;li class="abcdef"&gt;&lt;span class="heading"&gt;{{ collection.title | link_to: collection.url }}&lt;/span&gt;&lt;/li&gt;
  &lt;ul&gt;
  {% for tag in collection.tags %}  
  &lt;li&gt;&lt;a href="{{ collection.url }}/{{ tag }}"&gt;&amp;emsp;&amp;emsp;{{ tag }}&lt;/a&gt; &lt;/li&gt;
  {% endfor %}
  &lt;/ul&gt;
  {% endif %}
  {% endfor %}
  &lt;/ul&gt;
  </code></pre>
  
  <p>It was working fine for me but with one exception that my tags must not include spaces. But I have some tags with images. Can you guys, tell me how to do that so, that i can even include space without any interuption?</p>