document.addEventListener("DOMContentLoaded", function () {
const pathParts = window.location.pathname.split('/').filter(Boolean);
const tagSlugIndex = pathParts.findIndex(p => p === 'teme'); const target = document.getElementById("breadcrumb-tag"); if (tagSlugIndex !== -1 && pathParts[tagSlugIndex + 1]) {
const tagSlug = pathParts[tagSlugIndex + 1]; const tagName = tagSlug
.replace(/-/g, ' ')
.replace(/\b\w/g, l => l.toUpperCase()); if (target) {
target.textContent = `Tag: ${tagName}`;
}
} else if (target) {
target.textContent = 'Tag stranica';
}
});
Večeras se obilježava Noć vještica, jeste li našli odgovarajući kostim?
Večeras Noć vještica
Širom svijeta večeras se obilježava Noć vještica ili Halloween. Za ovaj praznik vežu se zabave pod maskama, strašne priče i rezbarenje bundeva. Noć...






