   
    <div class="p-6">
        <!-- Category -->
        {{ with .Params.categories }}
            <div class="mb-4">
                {{ range first 1 . }}
                    <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}" 
                       class="inline-block px-3 py-1 text-sm font-medium text-primary-600 bg-primary-50 rounded-full hover:bg-primary-100">
                        {{ . }}
                    </a>
                {{ end }}
            </div>
        {{ end }}

        <!-