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';
}
});
Kako poboljšati život starijih (i kako olakšati svoje starenje)?
Prema podacima, u BiH raste udio starijih od 65 godina u ukupnoj populaciji, dok se rađa sve manje djece. Znate li kako poboljšati život...






