List the categories an entry is part of? I'm new to all of this and so far Categories from a templating point of view are confusing me a bit. I'm loving Craft so far but some concepts are causing me some headaches to adjust to!

What i'm trying to do is list the sub-categories a blog post is part of.

I have 6 categories and each has 4 sub-categories.
I only want to list the sub-categories.

So when someone is viewing the site and they click into a full blog post page, at the top i'm listing the title, author, posted date and i want to follow that with a lisrt of the sub-categories applied to that blog post.
This will list all the categories that are assigned to the entry regardless of level.

&lt;ul&gt;
    {% for category in entry.categoriesFieldHandle %}
        &lt;li&gt;&lt;a href="{{ category.url }}"&gt;category.title&lt;/a&gt;&lt;/li&gt;
    {% endfor %}
&lt;/ul&gt;


If you only want to list the subcategories, (regardless of whether a main category is also assigned) then you can add a test for the category level.

&lt;ul&gt;
    {% for category in entry.categoriesFieldHandle %}
        {% if category.level &gt; 1 %}
            &lt;li&gt;&lt;a href="{{ category.url }}"&gt;category.title&lt;/a&gt;&lt;/li&gt;
        {% endif %}
    {% endfor %}
&lt;/ul&gt;