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';
}
});
Koliko često treba prati jastuke i kada je vrijeme da ih zamijenite
Svi znaju koliko je ugodno navečer leći u čist krevet, ali osjećaj svježine teško je zamisliti bez opranih jastuka. Uprkos tome, mnogi ih peru...






