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';
}
});
Koje su najsigurnije boje kupaćih kostima za djecu?
Boje kupaćih kostima za djecu ne bi smjele biti stvar trenda ili stila, već pitanje sigurnosti, upozoravaju stručnjaci koji se bave zaštitom života na...






