All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
11 lines
354 B
JavaScript
11 lines
354 B
JavaScript
document.addEventListener('DOMContentLoaded', function() {
|
|
let prev = null;
|
|
Array.from(document.getElementsByTagName('article')).reverse().forEach(function (article) {
|
|
const dedupId = article.dataset.dedupId;
|
|
if (dedupId === prev) {
|
|
article.getElementsByTagName('header')[0].classList.add('hidden');
|
|
}
|
|
prev = dedupId;
|
|
});
|
|
});
|