--- import config from "@/config/config.json"; import { getLangFromUrl } from "@/lib/utils/i18nUtils"; import { humanize, slugify } from "@/lib/utils/textConverter"; const { default_language } = config.settings; const { tags, categories, allCategories } = Astro.props; const lang = getLangFromUrl(Astro.url); ---
Categories
    { categories.map((category: any) => { const count = allCategories.filter( (c: any) => c === category ).length; return (
  • {humanize(category)} ({count})
  • ); }) }
Tags