I'm trying to setup a carousel that shows all the categories and the latest post for each category. So far, it's showing the categories, but it's showing the latest post on all categories and showing empty categories as well.

{{ taxonomy:categorias show="all" }}
<!-- post -->
    <!-- .entry-header -->
    <header class="entry-header">

        <!-- .entry-category-->
        <div class="entry-meta">
            <span class="cat-links">
                <a href="{{ url }}" title="See posts of {{ title }}" rel="category tag">{{ title }}</a>
            </span>
        </div>
        <!-- .entry-category-->

        <!-- .entry-title -->
        {{ collection from="blog" limit="1" }}
        <h2 class="entry-title"><a href="{{ url }}">{{ title }}</a></h2>

        <p><a href="{{ url }}" class="more-link">See post</a></p>
        {{ /collection }}

    </header>
    <!-- .entry-header -->

</div>
<!-- post -->
{{ /taxonomy:categorias }}

What am i doing wrong or what is missing?

Answered by Vitor Pinho! Go to answer.