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';
}
});
Obilne kiše u Hercegovini izazvale poplave i štetu na objektima
Obilne kiše koje su u petak i subotu pogodile Hercegovinu izazvale su brojne probleme i materijalnu štetu, a vatrogasci su imali pojačan broj intervencija...






